BsonDate.this

Constructs a BsonDate from the given date value.

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.

  1. this(Date date, TimeZone tz)
    struct BsonDate
    @safe
    this
    (
    in Date date
    ,
    immutable TimeZone tz = null
    )
  2. this(DateTime date, TimeZone tz)
  3. this(SysTime date)
  4. this(long unix_time)

Meta