Field LONG
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
LONG = new Integer(SimpleDateFormat.LONG),
2
return DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.MEDIUM).format(new Date(timestamp));
3
return DateFormat.getInstance().getDateTimeInstance(DateFormat.LONG,
4
return date(DateFormat.LONG, DateFormat.LONG, date);
5
.getDateInstance(DateFormat.LONG).format(date);
6
DateFormat.LONG, DateFormat.LONG).format(date);
7
DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.SHORT);
8
(DateFormat.LONG, m_locale);
9
map.put("DATE", DateFormat.getDateInstance(DateFormat.LONG).format(new Date())); // NOI18N
10
DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.SHORT);
11
DateFormat fmt = DateFormat.getDateInstance(DateFormat.LONG);
12
DateFormat df = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.FULL);
13
String longFormat = DateFormat.getDateInstance(DateFormat.LONG).format(jan1_1970);
14
DateFormat df = DateFormat.getDateTimeInstance(DateFormat.LONG,
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.