mir-algorithm — Libmir Archive
← Libmir Archive
Dlang.org
YearQuarter.isAD
mir
date
YearQuarter
Whether the current year is a date in A.D.
struct
YearQuarter
@
property
const @
safe
pure nothrow @
nogc
bool
isAD
(
)
Examples
assert
(
YearQuarter
(
2020
,
Quarter
.
q1
).
isAD
==
true
);
mir
date
YearQuarter
aliases
opBinaryRight
opCast
constructors
this
functions
add
addQuarters
addYears
opBinary
opOpAssign
timestamp
properties
day
dayOfQuarter
dayOfYear
daysInMonth
isAD
isLeapYear
month
Whether the current year is a date in A.D.