Datetime

Undocumented in source.

Constructors

this
this(ubyte parts, ubyte hours, ubyte minutes, ubyte seconds, ushort milliseconds, ubyte month, ubyte day, ushort year, short offset)
this
this(Timestamp timestamp)

Construct from mir.timestamp.

Members

Aliases

opCast
alias opCast(T : Timestamp) = asTimestamp
Undocumented in source.

Functions

asTimestamp
Timestamp asTimestamp()

Converts Datetime to mir.timestamp.

isOnlyTime
bool isOnlyTime()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

day
ubyte day;
Undocumented in source.
hours
ubyte hours;
Undocumented in source.
milliseconds
ushort milliseconds;
Undocumented in source.
minutes
ubyte minutes;
Undocumented in source.
month
ubyte month;
Undocumented in source.
offset
short offset;

(signed) minutes ahead of UTC

parts
ubyte parts;

bitmask of date/time parts that are set

seconds
ubyte seconds;
Undocumented in source.
year
ushort year;
Undocumented in source.

Meta