/** * The fuller constructor * * @param pattern the format pattern * @param timeZone the time zone * @param locale the locale */ public TmfTimestampFormat(String pattern, TimeZone timeZone, Locale locale) { super("", locale); // $NON-NLS-1$ fLocale = locale; setTimeZone(timeZone); setCalendar(Calendar.getInstance(timeZone, locale)); applyPattern(pattern); }
/** * The full constructor * * @param pattern the format pattern * @param timeZone the time zone */ public TmfTimestampFormat(String pattern, TimeZone timeZone) { fLocale = Locale.getDefault(); setTimeZone(timeZone); applyPattern(pattern); }
/** * The normal constructor * * @param pattern the format pattern */ public TmfTimestampFormat(String pattern) { fLocale = Locale.getDefault(); applyPattern(pattern); }