[threeten-dev] DisplayNames for field names

Masayoshi Okutsu masayoshi.okutsu at oracle.com
Mon Mar 4 19:25:10 PST 2013


I wonder if TemporalField.getDisplayName should describe the default 
behavior, returning the getName() value. Should the getDisplayName 
implementations check null locale?

Masayoshi

On 3/3/2013 4:02 AM, roger riggs wrote:
> Hi,
>
> Issue#103 <https://github.com/ThreeTen/threeten/network> requests 
> locale based display names for field names.
> The data is available and it only needs a 
> TemporalField/ChronoField.getDisplayName
> method plus a little plumbing.
>
> Please review and comment:
>
> webrev:
> http://cr.openjdk.java.net/~rriggs/webrev-field-displayname-103/
>
> javadoc: TemporalField and ChronoField:
> http://cr.openjdk.java.net/~rriggs/javadoc-field-displayname-103/
>



More information about the threeten-dev mailing list