Field MEDIUM
Field type: int
Member of:
java.text.DateFormat
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
MEDIUM = new Integer(SimpleDateFormat.MEDIUM),
2
private java.text.DateFormat DateFormat = java.text.DateFormat.getDateTimeInstance(java.text.DateFormat.MEDIUM, java.text.DateFormat.SHORT);
3
static DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM);
4
private final DateFormat df = DateFormat.getDateInstance(DateFormat.MEDIUM);
5
DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM);
6
return DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.MEDIUM).format(new Date(timestamp));
7
DateFormat dateformat = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM, Locale.getDefault());
8
DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM);
9
DateFormat.SHORT, DateFormat.MEDIUM, Locale.UK);
10
(DateFormat.MEDIUM, DateFormat.LONG, m_locale);
11
String mediumFormat = DateFormat.getDateInstance(DateFormat.MEDIUM).format(jan1_1970);
12
final DateFormat df = DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.GERMAN);
13
DateFormat df = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.SHORT);
14
DateFormat dfmt=DateFormat.getDateTimeInstance(DateFormat.MEDIUM,
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.