FileDocCategorySizeDatePackage
UseDefaultLocale.javaAPI DocExample353Fri Mar 30 10:21:50 BST 2001None

UseDefaultLocale

public class UseDefaultLocale extends Object
Format some values using the default locale

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)


		DateFormat df = DateFormat.getInstance();
		NumberFormat nf = NumberFormat.getInstance();

		System.out.println(df.format(new Date()));
		System.out.println(nf.format(123.4567));