BsonDate.this - multiple declarations
Function BsonDate.this
Constructs a BsonDate from the given date value.
ref this
(
in const(std .datetime .date .Date) date,
immutable(std .datetime .timezone .TimeZone) tz = null
) @safe;
ref this
(
in const(std .datetime .date .DateTime) date,
immutable(std .datetime .timezone .TimeZone) tz = null
) @safe;
ref this
(
in const(std .datetime .systime .SysTime) date
) @safe;
The time-zone independent Date and DateTime types are assumed to be in the local time zone and converted to UTC if tz is left to null.
Function BsonDate.this
Constructs a BsonDate from the given UNIX time.
ref this
(
long unix_time
) @safe;
unix_time needs to be given in milliseconds from 1970/01/01. This is the native storage format for BsonDate.