mir-algorithm — Libmir Archive
← Libmir Archive
Dlang.org
YearMonth.isAD
mir
date
YearMonth
Whether the current year is a date in A.D.
struct
YearMonth
nothrow @
property
const @
safe
pure nothrow @
nogc
bool
isAD
(
)
Examples
assert
(
YearMonth
(
2020
,
Month
.
jan
).
isAD
==
true
);
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
Whether the current year is a date in A.D.