View source code
Display the source code in std/datetime/date.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
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.

std.datetime.date.DateTime.this - multiple declarations

Function DateTime.this

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

Parameters

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

Function DateTime.this

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 (January is 1).
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

License

Boost License 1.0.