#include <ZFProtocolZFTime.h>
Public Member Functions | |
virtual const zfchar * | protocolName (void) const |
get the name of the protocol module, e.g. "ZFObject" | |
virtual zfbool | leapYear (zfint year)=0 |
see ZFTime::leapYear | |
virtual zfint | leapYearBetween (zfint year1, zfint year2)=0 |
see ZFTime::leapYearBetween | |
virtual zftimet | timestamp (void)=0 |
see ZFTime::timestamp | |
virtual void | currentTimeValue (ZFTimeValue &tv)=0 |
see ZFTime::currentTimeValue | |
virtual zfbool | timeInfoFromTimeValue (ZFTimeInfo &ti, const ZFTimeValue &tv)=0 |
see ZFTime::timeInfoFromTimeValue | |
virtual zfbool | timeInfoToTimeValue (ZFTimeValue &tv, const ZFTimeInfo &ti)=0 |
see ZFTime::timeInfoToTimeValue | |
virtual const ZFTimeValue & | timeZoneLocal (void)=0 |
see ZFTime::timeZoneLocal | |
virtual zfuint | dayOfWeek (const ZFTimeValue &tv, const ZFTimeInfo &ti)=0 |
see ZFTime::dayOfWeek | |
virtual zfuint | dayOfYear (const ZFTimeValue &tv, const ZFTimeInfo &ti)=0 |
see ZFTime::dayOfYear | |
virtual zfbool | timeInfoValid (const ZFTimeInfo &ti)=0 |
true if time info is valid | |
virtual zfbool | timeInfoValid (zfint year, zfuint month, zfuint day, zfuint hour, zfuint minute, zfuint second, zfuint miliSecond, zfuint microSecond)=0 |
true if time info is valid | |
![]() | |
virtual void | protocolOnInit (void) |
called to init the protocol | |
virtual void | protocolOnInitFinish (void) |
see protocolOnInit | |
virtual void | protocolOnDeallocPrepare (void) |
see protocolOnInit | |
virtual void | protocolOnDealloc (void) |
see protocolOnInit | |
virtual ZFProtocolInstanceState | protocolInstanceState (void) |
protocol instance's state | |
virtual const zfchar * | protocolImplName (void) const |
get the name of the protocol implementation, e.g. "ZFObject_default" | |
virtual ZFProtocolLevel | protocolImplLevel (void) const |
get the level of the protocol implementation | |
virtual const zfchar * | protocolImplPlatformHint (void) const |
get type hint of the implementation or empty string if not defined, e.g. "iOS:NSString" for iOS's string impl, use ZFPROTOCOL_IMPLEMENTATION_PLATFORM_HINT to register | |
virtual void | objectInfoT (zfstring &ret) const |
see objectInfo | |
virtual zfstring | objectInfo (void) const |
get a short info about this object | |
Protected Types | |
typedef ZFProtocol | zfsuper |
class ref to super | |
typedef ZFPInterface_ZFTime | zfself |
class ref to self | |
protocol for ZFTime
|
inlinevirtual |
get the name of the protocol module, e.g. "ZFObject"
Reimplemented from ZFProtocol.