mir-algorithm — Libmir Archive
← Libmir Archive
Dlang.org
YearMonth.this
mir
date
YearMonth
this
(short year, Month month)
struct
YearMonth
@
safe
pure nothrow @
nogc
this
(
short
year
,
Month
month
)
this
(short year, ushort month)
this
(Date date)
this
(YearMonthDay yearMonthDay)
this
(YearQuarter yearQuarter, AssumePeriod assumePeriod)
this
(Timestamp timestamp)
this
(const(char)[] str)
Examples
auto
ym
=
YearMonth
(
2000
,
Month
.
dec
);
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