Time interface.
Public Member Functions | |
| virtual void | UpdateFromCurrentSystemTime ()=0 |
| Update the time class from the current system's time. More... | |
| virtual void | SetYear (tI32 anYear)=0 |
| Set the year. {Property}. More... | |
| virtual tI32 | GetYear () const =0 |
| Get the year. {Property}. More... | |
| virtual void | SetMonth (tU8 anMonth)=0 |
| Set the month. {Property}. More... | |
| virtual tU8 | GetMonth () const =0 |
| Get the month. {Property}. More... | |
| virtual void | SetDay (tU8 anDay)=0 |
| Set the day. {Property}. More... | |
| virtual tU8 | GetDay () const =0 |
| Get the day. {Property}. More... | |
| virtual tU8 | GetWeekday () const =0 |
| Get the weekday. {Property}. More... | |
| virtual void | SetHour (tU8 anHour)=0 |
| Set the hour. {Property}. More... | |
| virtual tU8 | GetHour () const =0 |
| Get the hour. {Property}. More... | |
| virtual void | SetMinute (tU8 anMinute)=0 |
| Set the minute. {Property}. More... | |
| virtual tU8 | GetMinute () const =0 |
| Get the minute. {Property}. More... | |
| virtual void | SetSecond (tU8 anSecond)=0 |
| Set the second. {Property}. More... | |
| virtual tU8 | GetSecond () const =0 |
| Get the second. {Property}. More... | |
| virtual tBool | Copy (const iTime *apTime)=0 |
| Copy the specified time. More... | |
| virtual iTime * | Clone () const =0 |
| Creates a clone of this time. More... | |
| virtual void | SetDayLightSaving (ni::tBool abDayLightSaving)=0 |
| Set whether the time contains day light saving. {Property}. More... | |
| virtual tBool | GetDayLightSaving () const =0 |
| Get whether the time contains day light saving. {Property}. More... | |
| virtual void | SetTimeZone (tI32 anTimeZone)=0 |
| Set the time zone. {Property}. More... | |
| virtual tI32 | GetTimeZone () const =0 |
| Get the time zone. {Property}. More... | |
| virtual void | SetUnixTimeSecs (tI64 anFmt)=0 |
| Set the time from the unix time. {Property}. More... | |
| virtual tI64 | GetUnixTimeSecs () const =0 |
| Get the unix time. {Property}. More... | |
| virtual tI32 | Compare (const iTime *apTime) const =0 |
| Compare to another time object. More... | |
| virtual iTime * | ParseString (const achar *szString, const achar *aszFormat)=0 |
| Parse a time string. More... | |
| virtual cString | Format (const achar *aszFormat) const =0 |
| Format time. More... | |
| virtual iTime * | AddSeconds (tI64 anSeconds)=0 |
| Add seconds to this time. More... | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Update the time class from the current system's time.
|
pure virtual |
Get the year. {Property}.
|
pure virtual |
Get the month. {Property}.
|
pure virtual |
Get the day. {Property}.
|
pure virtual |
Get the weekday. {Property}.
|
pure virtual |
Get the hour. {Property}.
|
pure virtual |
Get the minute. {Property}.
|
pure virtual |
Get the second. {Property}.
|
pure virtual |
Creates a clone of this time.
Set whether the time contains day light saving. {Property}.
|
pure virtual |
Get whether the time contains day light saving. {Property}.
Set the time zone. {Property}.
|
pure virtual |
Get the time zone. {Property}.
Set the time from the unix time. {Property}.
|
pure virtual |
Get the unix time. {Property}.
Compare to another time object.
Parse a time string.
Format time.
1.8.7