This class implements the date time management.
|
SBDTypeDateTimeData * | dataPointer |
|
virtual void | print (unsigned int offset=0) const |
| Prints the date time.
|
|
| SB_DECLARE_DATA (SBDTypeDateTime) |
|
|
| SBDTypeDateTime () |
| Constructs a date time.
|
|
| SBDTypeDateTime (unsigned long long millisecondsSinceEpoch) |
| Constructs a date time.
|
|
| SBDTypeDateTime (const SBDTypeDateTime &dateTime) |
| Copy constructor.
|
|
| SBDTypeDateTime (SBDTypeDateTime &&dateTime) noexcept |
| Move constructor.
|
|
virtual | ~SBDTypeDateTime () |
| Destructs the date time.
|
|
|
bool | isSerializable () const |
| Returns true.
|
|
void | serialize (SBCSerializer *serializer, const SBVersionNumber &sdkVersionNumber=SB_SDK_VERSION_NUMBER) const |
| Serializes the color.
|
|
void | unserialize (SBCSerializer *serializer, const SBVersionNumber &sdkVersionNumber=SB_SDK_VERSION_NUMBER) |
| Unserializes the color.
|
|
|
unsigned long long | getMillisecondsSinceEpoch () const |
| Returns the number of milliseconds since Epoch.
|
|
void | setMillisecondsSinceEpoch (unsigned long long millisecondsSinceEpoch) |
| Sets the number of milliseconds since Epoch.
|
|
|
static SBDTypeDateTime | currentDateTimeUTC () |
| Returns the current date time in UTC.
|
|