Method toPattern()
Return type:
java.lang.String
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
dateFormatter = new SimpleDateFormat(Entry.getLastModifiedDateFormatter().toPattern(), Locale.US);
2
String pattern = simple.toPattern();
3
((SimpleDateFormat) pFormat).toPattern() : pFormat.toString();
4
assertEquals(new SimpleDateFormat().toPattern(), format1.getPattern());
5
m_hasAM_PM = formatTime.toPattern().indexOf('a') != -1;
6
String pattern = formatter.toPattern();
7
case(Types.TIMESTAMP) :lPattern = getApplication().getDateFormatter().toPattern();
8
String pattern = ((SimpleDateFormat)DateFormat.getDateInstance(ds, locale)).toPattern();
9
System.err.println("Neither of patterns: '"+thisYearFormat.toPattern()
10
this.getLogger().debug("dateFormat: " + this.dateFormatter.toPattern());
11
"try " + sdf.toPattern() + ".");
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.