Constructor SimpleDateFormat(String pattern, Locale locale)
Member of: java.text.SimpleDateFormat
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 SimpleDateFormat _df = new SimpleDateFormat(format, Locale.US);
2 private DateFormat dateFormat = new SimpleDateFormat("H:mm d MMM, yyyy", Locale.US);
3 new SimpleDateFormat(rfc1036Pattern, LOCALE_US);
4 new SimpleDateFormat(asctimePattern, LOCALE_US);
5 private static final DateFormat DATE_FORMAT = new SimpleDateFormat("dd-MMM-yy", //NOI18N
6 SimpleDateFormat formatter = new SimpleDateFormat( RFC1123_DATE_SPEC, Locale.US );
7 return new SimpleDateFormat(pattern, locale);
8 return new SimpleDateFormat(pPattern, locale);
9 dateFormatter = new SimpleDateFormat(Entry.getLastModifiedDateFormatter().toPattern(), Locale.US);
10 dateParser = new SimpleDateFormat("MMM dd, yyyy", Locale.ENGLISH);
11 = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss ", Locale.US);
12 dateFormat = new SimpleDateFormat(pattern, locale);
13 DateFormat dayFormat = new SimpleDateFormat("EEEE", locale);
14 SimpleDateFormat objWeekDay = new SimpleDateFormat("EEEE", objLocale);
15 SimpleDateFormat parser = new SimpleDateFormat(format, locale);
16 DateFormat formatter = new SimpleDateFormat(format,getLocale());
17 _tzFormat=new SimpleDateFormat(_tzFormatString,_locale);
18 new SimpleDateFormat(pattern, locale);
19 sdf = new SimpleDateFormat( dateformat, locale );
20 date = new SimpleDateFormat(format, Locale.US);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.