[threeten-dev] [threeten-develop] Zone or Zoned DateTime

Roger Riggs Roger.Riggs at oracle.com
Wed Dec 12 13:53:17 PST 2012


Hi Stephen,

The input we have so far is about 50-50 with good rational language based
reasons for ZonedDateTime.  It does matter to more than a few folks here 
at Oracle
and I think we now agree on to use original spelling.
Given the amount of flak we've taken for changing it/ allowing it to be 
changed,
we need to revert this change to the previous spelling.
If that's not the best use of your time, I can make the change.

Roger


On 12/12/2012 1:43 PM, Stephen Colebourne wrote:
> Naming is always subjective.
>
> The original comment made me think about the issue and questioned my
> previous naming. The change occurred because I felt it was the right
> thing to do - its simpler, especially for non-English speakers.
>
> I'm not going to do a poll at this stage. In six months time, no-one
> will care one way or another.
>
> Stephen
>
>
> On 11 December 2012 23:52, David M. Lloyd<david.lloyd at redhat.com>  wrote:
>> Well, maybe use a real polling thing for it.
>>
>> There are other options too:
>>
>> - DateTimeWithTimeZone
>> - DateTimeTimeZone
>> - DateTimeZone
>> - DateTimeWithZone
>> - DateTimeAndZone
>>
>> On 12/11/2012 04:22 PM, Jesper Steen Møller wrote:
>>> Why not take a vote on it in a larger audience, like it has been done a few times earlier?
>>>
>>> A) ZonedDateTime - because 'zoned' is a participle adjective in the phrase "zoned date time": ZonedDateTime makes it clear that the zone modifies the DateTime, not the other way around. The other Zone classes are information of one form or another about time zones, e.g. ZoneId.
>>>
>>> B) ZoneDateTime - because ZoneDateTime means the Zone specialism of DateTime in standard Java class naming. That makes it an acceptable name here. It also matches the same prefix as other zone classes, which is a good thing.
>>>
>>> -Jesper
>>>
>>> On 11/12/2012, at 22.56, Douglas Surber wrote:
>>>
>>>> So maybe ten people thought Zoned was a typo and asked about it vs
>>>> the thousand people who saw it and said nothing because it is
>>>> correct. That's the problem with making decisions based on anecdote.
>>>> You only notice the exceptional cases.
>>>>
>>>> Douglas
>>>>
>>>>
>>>> At 01:30 PM 12/11/2012, Grzegorz Borkowski wrote:
>>>>> Perhaps it was me who originally suggested this change (unless there
>>>>>
>>>>> were other voices too) - it was based on the observation that people
>>>>>
>>>>> seeing ZonedDateTime for the first time, used to ask "isn't there a
>>>>> typo
>>>>> in this name, shouldn't it be ZoneDateTime?".
>>>>> So even if from the lexical point of view the ZonedDT is more
>>>>> precise, I
>>>>> think ZoneDT is just more practical.
>>>>>
>>>>> Greg
>>>>>
>>>>> W dniu 2012-12-11 01:21, Douglas Surber pisze:
>>>>>> At 04:14 PM 12/10/2012, Stephen Colebourne wrote:
>>>>>>> Ultimately, I made this change.
>>>>>>>
>>>>>>> ZoneDateTime means the Zone specialism of DateTime in standard
>>>>> Java
>>>>>>> class naming. That makes it an acceptable name here. It also
>>>>> matches
>>>>>>> the same prefix as other zone classes, which is a good thing.
>>>>>> Except the other Zone classes are information of one form or
>>>>> another
>>>>>> about time zones. ZonedDateTime is a DateTime. The time zone
>>>>>> information is about the DateTime; the DateTime is not
>>>>> information
>>>>>> about the time zone. I honestly think that the fact that "Zone"
>>>>> is
>>>>>> the same in both cases is a good argument against ZoneDateTime as
>>>>> the
>>>>>> uses are completely different.
>>>>>>
>>>>>> This is another case where code that has been the same for years
>>>>> and
>>>>>> been reviewed by hundreds or thousands of people without
>>>>> complaint is
>>>>>> changed at the very last second for no good reason.
>>>>>>
>>>>>> Douglas
>>>>>>
>>>>>>
>>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>>>> Remotely access PCs and mobile devices and provide instant support
>>>>> Improve your efficiency, and focus on delivering more value-add
>>>>> services
>>>>> Discover what IT Professionals Know. Rescue delivers
>>>>> http://p.sf.net/sfu/logmein_12329d2d
>>>>> _______________________________________________
>>>>> threeten-develop mailing list
>>>>> threeten-develop at lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/threeten-develop
>>>>
>>>> ------------------------------------------------------------------------------
>>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>>> Remotely access PCs and mobile devices and provide instant support
>>>> Improve your efficiency, and focus on delivering more value-add services
>>>> Discover what IT Professionals Know. Rescue delivers
>>>> http://p.sf.net/sfu/logmein_12329d2d
>>>> _______________________________________________
>>>> threeten-develop mailing list
>>>> threeten-develop at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/threeten-develop
>>>
>>> ------------------------------------------------------------------------------
>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>> Remotely access PCs and mobile devices and provide instant support
>>> Improve your efficiency, and focus on delivering more value-add services
>>> Discover what IT Professionals Know. Rescue delivers
>>> http://p.sf.net/sfu/logmein_12329d2d
>>> _______________________________________________
>>> threeten-develop mailing list
>>> threeten-develop at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/threeten-develop
>>>
>>
>> --
>> - DML
>>
>> ------------------------------------------------------------------------------
>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>> Remotely access PCs and mobile devices and provide instant support
>> Improve your efficiency, and focus on delivering more value-add services
>> Discover what IT Professionals Know. Rescue delivers
>> http://p.sf.net/sfu/logmein_12329d2d
>> _______________________________________________
>> threeten-develop mailing list
>> threeten-develop at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/threeten-develop
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> threeten-develop mailing list
> threeten-develop at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/threeten-develop

-- 
Thanks, Roger

Oracle Java Platform Group

Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment



More information about the threeten-dev mailing list