return this.getDateFormats().iterator().next();
}
+ public LinkedHashSet<String> getSecondaryDateFormats() {
+ LinkedHashSet<String> dateFormats = (LinkedHashSet<String>)this.getDateFormats().clone();
+ //
+ dateFormats.remove(this.getDefaultDateFormat());
+ //
+ return dateFormats;
+ }
+
/* Locale. */
protected void setLocale(Locale locale) {
return this.getDateFormats().iterator().next();
}
+ public LinkedHashSet<String> getSecondaryDateFormats() {
+ LinkedHashSet<String> dateFormats = (LinkedHashSet<String>)this.getDateFormats().clone();
+ //
+ dateFormats.remove(this.getDefaultDateFormat());
+ //
+ return dateFormats;
+ }
+
/* Locale. */
protected void setLocale(Locale locale) {
return this.getDatetimeFormats().iterator().next();
}
+ public LinkedHashSet<String> getSecondaryDatetimeFormats() {
+ LinkedHashSet<String> datetimeFormats = (LinkedHashSet<String>)this.getDatetimeFormats().clone();
+ //
+ datetimeFormats.remove(this.getDefaultDatetimeFormat());
+ //
+ return datetimeFormats;
+ }
+
/* Locale. */
protected void setLocale(Locale locale) {
return this.getNumberFormats().iterator().next();
}
+ public LinkedHashSet<String> getSecondaryNumberFormats() {
+ LinkedHashSet<String> numberFormats = (LinkedHashSet<String>)this.getNumberFormats().clone();
+ //
+ numberFormats.remove(this.getDefaultNumberFormat());
+ //
+ return numberFormats;
+ }
+
/* Locale. */
protected void setLocale(Locale locale) {