19 package org.turro.zkoss.input;
21 import java.text.DateFormatSymbols;
22 import java.util.ArrayList;
23 import java.util.Collection;
24 import java.util.TreeSet;
25 import org.turro.string.Strings;
26 import org.turro.elephant.context.Application;
27 import org.turro.util.PhraseBuilder;
38 TreeSet<Integer> months =
new TreeSet<Integer>();
39 for(
int d = 1; d <= 12; d++) {
45 setSelectFirst(
false);
50 return Strings.capitalize(dfs.getMonths()[v - 1]);
54 String[] va = value ==
null ? null : value.split(
",");
55 ArrayList<Integer> ali =
new ArrayList<Integer>();
57 ali.add(Integer.valueOf(v.trim()));
67 PhraseBuilder pb =
new PhraseBuilder();
68 for(Integer i : values) {
69 pb.addWord(i.toString());
70 pb.addPendingSeparator(
", ");
static Locale getUsedLocale()