View source code Display the source code in std/datetime.d from which this page was generated on github. Improve this page Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone. Page wiki View or edit the community-maintained wiki page associated with this page.

std.datetime.date_time.this - multiple declarations

Function DateTime.this

Prototype

ref this(
  const(Date) date,
  const(TimeOfDay) tod = TimeOfDay(cast(ubyte)0u, cast(ubyte)0u, cast(ubyte)0u)
) pure nothrow @safe;

Parameters

NameDescription
date The date portion of DateTime.
tod The time portion of DateTime.

Function DateTime.this

Prototype

ref this(
  int year,
  int month,
  int day,
  int hour = 0,
  int minute = 0,
  int second = 0
) pure @safe;

Parameters

NameDescription
year The year portion of the date.
month The month portion of the date.
day The day portion of the date.
hour The hour portion of the time;
minute The minute portion of the time;
second The second portion of the time;

Authors

Jonathan M Davis and Kato Shoichi

License

Boost License 1.0.

Comments