The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

Methods in Class

Visual Studio 2005

Visual J# supports the following methods in the class:

  • To set the default date/time pattern for a given format style and locale, use the following method. The default pattern will then be used when DateFormat.getDateTimeInstance is called.

    public static final locale, int formatStyle, String datePattern, String timePattern)
  • To set the default region to be used when the region is unspecified by a call to set the locale, use the following method. For example, if java.lang.Locale is created by passing an empty string for the country, as in new java.lang.Locale("en", "").

    public static final langName, String defRegion)

    The langName parameter is a two-letter language code. The defRegion parameter is a two-letter country code.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.