Field SHORT
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 SHORT = new Integer(SimpleDateFormat.SHORT);
2 DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.SHORT);
3 DateFormat dateTimeFormat = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
4 private java.text.DateFormat DateFormat = java.text.DateFormat.getDateTimeInstance(java.text.DateFormat.MEDIUM, java.text.DateFormat.SHORT);
5 static DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM);
6 DateFormat.getDateInstance(DateFormat.SHORT);
7 DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM);
8 DateFormat dateformat = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM, Locale.getDefault());
9 public DateFormat dateTimeFormater = DateFormat.getDateTimeInstance(DateFormat.SHORT,DateFormat.SHORT);
10 DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM);
11 .getDateInstance(DateFormat.SHORT).format(date);
12 DateFormat sdf = SimpleDateFormat.getDateInstance(SimpleDateFormat.SHORT, loc);
13 SimpleDateFormat format = (SimpleDateFormat)SimpleDateFormat.getDateInstance( DateFormat.SHORT);
14 DateFormat df = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
15 DateFormat.SHORT, Locale.UK);
16 return DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, locale).format(obj);//fix
17 (DateFormat.SHORT, m_locale);
18 String shortFormat = DateFormat.getDateInstance(DateFormat.SHORT).format(jan1_1970);
19 formatter = DateFormat.getDateInstance(DateFormat.SHORT, locale);
20 result = DateFormat.getDateInstance(DateFormat.SHORT).format(result);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.