Searched refs:timeZoneInfo (Results 1 – 10 of 10) sorted by relevance
64 final TimeZoneInfo timeZoneInfo = item.mTimeZoneInfo; in onListItemClick() local65 getActivity().setResult(Activity.RESULT_OK, prepareResultData(timeZoneInfo)); in onListItemClick()107 private TimeZoneInfoItem(long itemId, TimeZoneInfo timeZoneInfo, Resources resources, in TimeZoneInfoItem() argument110 mTimeZoneInfo = timeZoneInfo; in TimeZoneInfoItem()113 mTitle = createTitle(timeZoneInfo); in TimeZoneInfoItem()117 private static String createTitle(TimeZoneInfo timeZoneInfo) { in createTitle() argument118 String name = timeZoneInfo.getExemplarLocation(); in createTitle()120 name = timeZoneInfo.getGenericName(); in createTitle()122 if (name == null && timeZoneInfo.getTimeZone().inDaylightTime(new Date())) { in createTitle()123 name = timeZoneInfo.getDaylightName(); in createTitle()[all …]
49 public void setTimeZoneInfo(TimeZoneInfo timeZoneInfo) { in setTimeZoneInfo() argument50 mTimeZoneInfo = timeZoneInfo; in setTimeZoneInfo()
54 public void setTimeZoneInfo(TimeZoneInfo timeZoneInfo) { in setTimeZoneInfo() argument55 mTimeZoneInfo = timeZoneInfo; in setTimeZoneInfo()
63 public void setTimeZoneInfo(TimeZoneInfo timeZoneInfo) { in setTimeZoneInfo() argument64 mTimeZoneInfo = timeZoneInfo; in setTimeZoneInfo()
38 TimeZoneInfo timeZoneInfo = formatter.format("America/Los_Angeles"); in testFormat() local39 assertThat(timeZoneInfo.getId()).isEqualTo("America/Los_Angeles"); in testFormat()40 assertThat(timeZoneInfo.getExemplarLocation()).isEqualTo("Los Angeles"); in testFormat()41 assertThat(timeZoneInfo.getGmtOffset().toString()).isEqualTo("GMT-08:00"); in testFormat()42 assertThat(timeZoneInfo.getGenericName()).isEqualTo("Pacific Time"); in testFormat()43 assertThat(timeZoneInfo.getStandardName()).isEqualTo("Pacific Standard Time"); in testFormat()44 assertThat(timeZoneInfo.getDaylightName()).isEqualTo("Pacific Daylight Time"); in testFormat()52 TimeZoneInfo timeZoneInfo = formatter.format("Australia/Lord_Howe"); in getGmtOffset_zoneLordHowe_correctGmtOffset() local53 assertThat(timeZoneInfo.getGmtOffset().toString()).isEqualTo("GMT+11:00"); in getGmtOffset_zoneLordHowe_correctGmtOffset()
42 TimeZoneInfo timeZoneInfo = formatter.format("America/Los_Angeles"); in updateState_matchExpectedFormattedText() local46 controller.setTimeZoneInfo(timeZoneInfo); in updateState_matchExpectedFormattedText()