Year and Month.
If month is specified we probably aren't interested in years before 0 so store only years 0 .. 2^12-1 (4095). This makes this struct fit in 2 bytes.
No explicit destruction needed.
See Implementation
Year and Month.
If month is specified we probably aren't interested in years before 0 so store only years 0 .. 2^12-1 (4095). This makes this struct fit in 2 bytes.