phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
DateTime.year
std
datetime
date
DateTime
Year of the Gregorian Calendar. Positive numbers are A.D. Non-positive are B.C.
short
year
[@property getter]
struct
DateTime
@
property
const @
safe
pure nothrow @
nogc
short
year
(
)
int
year
[@property setter]
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
Year of the Gregorian Calendar. Positive numbers are A.D. Non-positive are B.C.