mir-algorithm — Libmir Archive
Libmir Archive
API Reference Index
mir-algorithm Guide
Dlang.org
YearMonth.this
mir
date
YearMonth
Constructs a `YearMonth` from a year and month, a `Date`, or a `YearMonthDay`.
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)
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
Constructs a `YearMonth` from a year and month, a `Date`, or a `YearMonthDay`.