YearMonth.toHash

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);