[threeten-dev] Localized GMT offset

Stephen Colebourne scolebourne at joda.org
Tue Mar 26 04:17:21 PDT 2013


I think we're on the right lines here.

I think that TextStyle makes more sense than FormatStyle, but does
CLDR have an opinion?

Some descriptive text about pattern letter O and Z needs adding to
DateTimeFormatter.class Javadoc.

The text in the table should be "localized zone-offset" not
"zone-offset prefixed"

Is there any way to re-use the main offset ID internal class to avoid
the duplicated code?

You've included seconds in the format/parse when CLDR does not. I
think tats the right choice, but its worth noting.

TCKOffsetPrinterParser, TCKDateTimeFormatterBuilder and
TestDateTimeFormatterBuilder should have an invalid pattern for 6 Z.

thanks
Stephen


On 25 March 2013 18:51, Xueming Shen <xueming.shen at oracle.com> wrote:
> Try again,
>
> http://cr.openjdk.java.net/~sherman/jdk8_threeten/fmtOffsetPrefixed
> <http://cr.openjdk.java.net/%7Esherman/jdk8_threeten/fmtOffsetPrefixed/>
>
> Does it fit the requirement?
>
> -Sherman


More information about the threeten-dev mailing list