mir-algorithm — Libmir Archive
← Libmir Archive
Dlang.org
YearQuarter.this
mir
date
YearQuarter
this
(short year, Quarter quarter)
this
(short year, Month month)
this
(Date date)
this
(YearMonthDay yearMonthDay)
struct
YearQuarter
@
safe
pure nothrow @
nogc
this
(
YearMonthDay
yearMonthDay
)
this
(YearMonth yearMonth)
this
(Timestamp timestamp)
Examples
auto
ym
=
YearQuarter
(
YearMonthDay
(
2000
,
Month
.
dec
,
31
));
mir
date
YearQuarter
aliases
opBinaryRight
opCast
constructors
this
functions
add
addQuarters
addYears
opBinary
opOpAssign
timestamp
properties
day
dayOfQuarter
dayOfYear
daysInMonth
isAD
isLeapYear
month