Re: [threeten-develop] JSR-310 face to face meeting with Oracle
Status: Alpha
Brought to you by:
scolebourne
From: Stephen C. <sco...@jo...> - 2012-02-03 13:08:00
|
On 3 February 2012 12:09, Brian Harris <bri...@gm...> wrote: > OffsetDate is the only class I have a problem with, not OffsetDateTime > or OffsetTime. Is there a use case for OffsetDate besides this XML > schema compatibility? Well OffsetDate clearly has a meaning. Its a reference to a whole day occurring at an offset from UTC. And it has the opposite use case to that described for OffsetTime, that is storing a LocalTime and an optional OffsetDate that combine to form an ODT. To remove would make the pattern of classes incomplete for a combination that is logically valid. In my view, that makes it harder for users to understand the pattern, whether or not it is widely used. Stephen |