mir-algorithm — Libmir Archive
Libmir Archive
API Reference Index
mir-algorithm Guide
Dlang.org
YearMonth.toHash
mir
date
YearMonth
Returns a hash value for the YearMonth object.
struct
YearMonth
const pure nothrow @
nogc
@
safe
size_t
toHash
(
)
Examples
assert
(
YearMonth
(
2000
,
Month
.
dec
).
toHash
==
32012
);
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
Returns a hash value for the YearMonth object.