mir-algorithm — Libmir Archive
← Libmir Archive
Dlang.org
YearMonth.trustedWithDayOfMonth
mir
date
YearMonth
struct
YearMonth
const @
safe
pure nothrow @
nogc
Date
trustedWithDayOfMonth
(
int
days
)
Examples
auto
ym
=
YearMonth
(
2000
,
Month
.
nov
);
assert
(
ym
.
trustedWithDayOfMonth
(
6
) ==
Date
(
2000
,
11
,
6
));
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