OSXSDDateTimeClass Class Reference
Inheritance diagram for OSXSDDateTimeClass:

Public Member Functions | |
| OSXSDDateTimeClass () | |
| OSXSDDateTimeClass(): This is a default constructor, sets the date and time fields to zero. | |
| OSXSDDateTimeClass (const OSUTF8CHAR *dtString) | |
| OSXSDDateTimeClass(string): This is a parameterized constructor, parses string and sets the date and time fields. | |
| OSXSDDateTimeClass (OSINT32 year_, OSUINT8 mon_, OSUINT8 day_, OSUINT8 hour_, OSUINT8 min_, OSREAL sec_, OSBOOL tz_flag_, OSINT32 tzo_) | |
| OSXSDDateTimeClass(param1,param2,. | |
| OSXSDDateTimeClass (const OSXSDDateTimeClass &dt) | |
| OSXSDDateTimeClass(const OSXSDDateTimeClass& dt): This is a copy constructor, sets the date and time fields to that of equal to supplied OSXSDDateTimeClass type object. | |
| OSXSDDateTimeClass (const OSXSDDateTime &dt) | |
| OSXSDDateTimeClass(const OSXSDDateTime& dt): This is a copy constructor, sets the date and time fields to that of equal to supplied OSXSDDateTimeClass type object. | |
| OSRTBaseType * | clone () const |
| Clone method. | |
| int | getTime (time_t &timeMs) |
| This method converts the datetime value to a calendar time encoded as a value of type time_t. | |
| virtual int | parseString (const OSUTF8CHAR *dtString) |
| parseString: This method parses the datetime string and sets the date and time value | |
| void | print (const char *name) |
| This method prints the datetime value to standard output. | |
| int | setCurrent () |
| setCurrent: This method sets the date and time fields to the values of current date and time. | |
| int | setCurrentTz () |
| setCurrentTz: This method sets the date, time and timezone fields to the values of current date and time. | |
| int | setDateTime (struct tm *time) |
| This method converts a structure of type tm to the datetime value. | |
| int | setLocalTime (time_t timeMs) |
| This method sets local date and time to the datetime value. | |
| int | setUtcTime (time_t timeMs) |
| This method sets UTC date and time to the datetime value. | |
| void | setValue (const OSUTF8CHAR *utf8str) |
| This method sets the string value to the given datetime instance. | |
| void | setValue (const OSXSDDateTime &dt) |
| This method sets the datetime value to the given datetime instance. | |
| const OSUTF8CHAR * | toString () |
| toString: This method sets the date and time fields to the values of current date and time. | |
| virtual const OSUTF8CHAR * | toString (OSUTF8CHAR *buffer, size_t bufsize) |
| This method sets the date and time fields to the values of current date and time. | |
| OSXSDDateTimeClass & | operator= (const OSXSDDateTimeClass &orig) |
| Assignment operator. | |
Detailed Description
Definition at line 34 of file rtxCppDateTime.h.
Constructor & Destructor Documentation
|
||||||||||||||||||||||||||||||||||||
|
OSXSDDateTimeClass(param1,param2,. .): This is a parameterized constructor, sets the date and time elements with the supplied parameter values .
|
|
|
OSXSDDateTimeClass(const OSXSDDateTimeClass& dt): This is a copy constructor, sets the date and time fields to that of equal to supplied OSXSDDateTimeClass type object.
|
|
|
OSXSDDateTimeClass(const OSXSDDateTime& dt): This is a copy constructor, sets the date and time fields to that of equal to supplied OSXSDDateTimeClass type object.
|
Member Function Documentation
|
|
Clone method. Creates a copied instance and returns pointer to OSRTBaseType. Reimplemented from OSRTBaseType. Reimplemented in OSXSDDateClass, and OSXSDTimeClass. Definition at line 86 of file rtxCppDateTime.h. |
|
|
This method converts the datetime value to a calendar time encoded as a value of type time_t.
|
|
|
parseString: This method parses the datetime string and sets the date and time value
Reimplemented in OSXSDDateClass, and OSXSDTimeClass. |
|
|
This method prints the datetime value to standard output.
Reimplemented in OSXSDDateClass, and OSXSDTimeClass. |
|
|
setCurrent: This method sets the date and time fields to the values of current date and time.
|
|
|
setCurrentTz: This method sets the date, time and timezone fields to the values of current date and time.
|
|
|
This method converts a structure of type tm to the datetime value.
|
|
|
This method sets local date and time to the datetime value.
|
|
|
This method sets UTC date and time to the datetime value.
|
|
|
This method sets the datetime value to the given datetime instance.
|
|
|
This method sets the string value to the given datetime instance.
|
|
||||||||||||
|
This method sets the date and time fields to the values of current date and time.
Reimplemented in OSXSDDateClass, and OSXSDTimeClass. |
|
|
toString: This method sets the date and time fields to the values of current date and time.
|
The documentation for this class was generated from the following file:
