Method getTimeInstance(int style, 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.LONG, m_locale);
2 DateFormat.getTimeInstance( DateFormat.DEFAULT, m_locale );
3 SimpleDateFormat formatTime = (SimpleDateFormat)DateFormat.getTimeInstance(DateFormat.SHORT, loc);
4 SimpleDateFormat formatter = (SimpleDateFormat) DateFormat.getTimeInstance(style, locale);
5 String pattern = ((SimpleDateFormat)DateFormat.getTimeInstance(ts, locale)).toPattern();
6 to_fmt = (SimpleDateFormat)DateFormat.getTimeInstance(style, loc);
7 df = DateFormat.getTimeInstance(DateFormat.SHORT, locale);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.