Lines Matching full:timezone
41 import java.util.TimeZone;
54 void onZoneSelected(TimeZone tz);
68 * Constructs an adapter with TimeZone list. Sorted by TimeZone in default.
79 * Constructs an adapter with TimeZone list. Sorted by TimeZone in default.
102 * Searches {@link TimeZone} from the given {@link SimpleAdapter} object, and returns
103 * the index for the TimeZone.
107 * @param tz TimeZone to be searched.
108 * @return Index for the given TimeZone. -1 when there's no corresponding list item.
111 public static int getTimeZoneIndex(SimpleAdapter adapter, TimeZone tz) {
119 // If current timezone is in this list, move focus to it
129 * @return TimeZone object corresponding to the item.
131 public static TimeZone obtainTimeZoneFromItem(Object item) {
132 return TimeZone.getTimeZone((String)((Map<?, ?>)item).get(ZoneGetter.KEY_ID));
203 final int defaultIndex = getTimeZoneIndex(adapter, TimeZone.getDefault());
216 // Update the system timezone value
220 final TimeZone tz = TimeZone.getTimeZone(tzId);