[LEAPSECS] Lets get REAL about time.

Clive D.W. Feather clive at davros.org
Fri Jan 27 05:50:22 EST 2012

Stephen Colebourne said:

> Interestingly, in JSR-310 I may end up representing a date as a packed

> form of day-of-month (5 bits) and epoch-months (59 bits). Month

> calculations are then easy.

Oh? When is a month from Monday coming? What day is 4 months after the last
day of next month? What about the antepenultimate day of next month?
Explain your working in each case.

Clive D.W. Feather | If you lie to the compiler,
Email: clive at davros.org | it will get its revenge.
Web: http://www.davros.org | - Henry Spencer
Mobile: +44 7973 377646

More information about the LEAPSECS mailing list