SysTime.this

  1. this(DateTime dateTime, TimeZone tz)
    struct SysTime
    return scope @safe nothrow
    this
    (,
    return scope immutable TimeZone tz = null
    )
  2. this(DateTime dateTime, Duration fracSecs, TimeZone tz)
  3. this(Date date, TimeZone tz)
  4. this(long stdTime, TimeZone tz)

Parameters

dateTime DateTime

The std.datetime.date.DateTime to use to set this SysTime's internal std time. As std.datetime.date.DateTime has no concept of time zone, tz is used as its time zone.

tz TimeZone

The std.datetime.timezone.TimeZone to use for this SysTime. If null, std.datetime.timezone.LocalTime will be used. The given std.datetime.date.DateTime is assumed to be in the given time zone.

Meta