[webbeans-dev] XML Date Type Field Value

Gavin King gavin at hibernate.org
Wed Jan 7 02:25:31 EST 2009


http://java.sun.com/j2se/1.4.2/docs/api/java/text/DateFormat.html#getDateTimeInstance()

public static final DateFormat getDateTimeInstance()

    Gets the date/time formatter with the default formatting style for
the default locale.

i.e. it is the server locale.

On Wed, Jan 7, 2009 at 5:54 PM, Gurkan Erdogdu <gurkanerdogdu at yahoo.com> wrote:
> Hi;
>
> In Spec says that
> "Date values are parsed by the DateFormat.getDateTimeInstance().parse()."
>
> But it does not specifies any default locale specific information. So one
> format/Locale defined in the XML does not work for other Locales than its
> defined locale. So is there any default formatting/Locale ? (For example :
> SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ")  as a default).
>
> Thanks;
>
> Gurkan
>
>
>
>
>
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>
>



-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org



More information about the weld-dev mailing list