The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
DateTime.this
std
datetime
date
DateTime
this
(Date date, TimeOfDay tod)
struct
DateTime
@
safe
pure nothrow @
nogc
this
(
Date
date
,
TimeOfDay
tod
=
TimeOfDay.init
)
this
(int year, int month, int day, int hour, int minute, int second)
Parameters
date
Date
The date portion of
DateTime
.
tod
TimeOfDay
The time portion of
DateTime
.
Meta
Source
See Implementation
std
datetime
date
DateTime
constructors
this
functions
add
diffMonths
opBinary
opCmp
opOpAssign
roll
toISOExtString
toISOString
toSimpleString
toString
properties
date
day
dayOfGregorianCal
dayOfWeek
dayOfYear
daysInMonth
endOfMonth
hour
isAD
isLeapYear
isoWeek
isoWeekYear
julianDay
max
min
minute
modJulianDay
month
second
timeOfDay
year
yearBC
static functions
fromISOExtString
fromISOString
fromSimpleString