The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
YearMonth.this
mir
date
YearMonth
this
(short year, Month month)
this
(short year, ushort month)
this
(Date date)
this
(YearMonthDay yearMonthDay)
this
(YearQuarter yearQuarter, AssumePeriod assumePeriod)
this
(Timestamp timestamp)
struct
YearMonth
version(D_Exceptions)
@
safe
pure @
nogc
this
(
Timestamp
timestamp
)
this
(const(char)[] str)
Meta
Source
See Implementation
mir
date
YearMonth
aliases
opBinaryRight
opCast
constructors
this
functions
add
addMonths
addQuarters
addYears
endOfMonth
lengthOfMonth
opBinary
opCmp
opOpAssign
quarter
timestamp
toHash
toISOExtString
trustedWithDayOfMonth
properties
dayOfYear
daysInMonth
isAD
isLeapYear