Method getDateTimeInstance(int dateStyle, int timeStyle, Locale aLocale)
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 DateFormat dateformat = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM, Locale.getDefault());
2 DateFormat dateformat = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM, Locale.getDefault());
3 (SimpleDateFormat) DateFormat.getDateTimeInstance(
4 (DateFormat.MEDIUM, DateFormat.LONG, m_locale);
5 return DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, locale).format(obj);//fix
6 _dateFormat = SimpleDateFormat.getDateTimeInstance(DateFormat.FULL,
7 DateFormat.getDateTimeInstance( DateFormat.DEFAULT, DateFormat.DEFAULT, m_locale );
8 SimpleDateFormat df = (SimpleDateFormat) DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, locale);
9 SimpleDateFormat formatter = (SimpleDateFormat) DateFormat.getDateTimeInstance(dateStyle, timeStyle, locale);
10 DateFormat.getDateTimeInstance(DateFormat.SHORT,
11 String pattern = ((SimpleDateFormat)DateFormat.getDateTimeInstance(ds, ts, locale)).toPattern();
12 to_fmt = (SimpleDateFormat)DateFormat.getDateTimeInstance(
13 df = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, locale);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.