From Documentation

(Difference between revisions)
Jump to: navigation, search
(Created page with '{{ZUMLReferencePageHeader}} <source lang="java"> boolean testCurrent(String lang, String country); </source> :i.e., <javadoc method="testCurrent(java.lang.String, java.lang.Str…')
 
Line 14: Line 14:
=Version History=
=Version History=
-
Last Update : {{REVISIONYEAR}}/{{REVISIONMONTH}}/{{REVISIONDAY}}
+
{{LastUpdated}}
{| border='1px' | width="100%"
{| border='1px' | width="100%"
! Version !! Date !! Content
! Version !! Date !! Content

Latest revision as of 08:32, 17 December 2010






boolean testCurrent(String lang, String country);
i.e., Locales.testCurrent(String, String)

Returns whether the current locale (getCurrentLocale()) belongs to the specified language and/or country.

Parameters:

  • lang - the language code, e.g., en and zh. Ignored if null.
  • country - the country code, e.g., US. Ignored if null. If empty, it means no country code at all.

Version History

Last Update : 2010/12/17


Version Date Content
     




Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.