Method getDateTimeInstance(int dateStyle, int timeStyle)
Return type: java.text.DateFormat
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 return DateFormat.getDateTimeInstance(dateStyle, timeStyle).format(date);
2 return DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.MEDIUM).format(new Date(timestamp));
3 return DateFormat.getInstance().getDateTimeInstance(DateFormat.LONG,
4 return DateFormat.getDateTimeInstance(
5 .getDateTimeInstance(DateFormat.SHORT,
6 DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.SHORT);
7 DateFormat df = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
8 dateTimeFormat_ = DateFormat.getDateTimeInstance(DateFormat.SHORT,
9 DateFormat df = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG);
10 DateFormat df = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.FULL);
11 DateFormat df = DateFormat.getDateTimeInstance(DateFormat.LONG,
12 DateFormat df = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.SHORT);
13 DateFormat dfmt=DateFormat.getDateTimeInstance(DateFormat.MEDIUM,
14 locFmt = (SimpleDateFormat)DateFormat.getDateTimeInstance(
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.