Searched refs:mDateTimeSettingsHelper (Results 1 – 2 of 2) sorted by relevance
37 private HelperAccessor<IAutoDateTimeSettingsHelper> mDateTimeSettingsHelper; field in DateTimeSettingTest55 mDateTimeSettingsHelper = new HelperAccessor<>(IAutoDateTimeSettingsHelper.class); in DateTimeSettingTest()72 mDateTimeSettingsHelper.get().setDate(DATE); in testSetDate()73 assertTrue(mDateTimeSettingsHelper.get().getDate().equals(DATE)); in testSetDate()78 mDateTimeSettingsHelper.get().setTimeInTwelveHourFormat(HOUR, MINUTE, IS_AM); in testSetTimeTwelveHourFormat()79 assertTrue(mDateTimeSettingsHelper.get().getTime().matches(FULL_TIME_TWELVE_REGEX)); in testSetTimeTwelveHourFormat()84 mDateTimeSettingsHelper.get().setTimeInTwentyFourHourFormat(HOUR, MINUTE); in testSetTimeTwentyFourHourFormat()85 assertTrue(mDateTimeSettingsHelper.get().getTime().equals(FULL_TIME_TWENTYFOUR)); in testSetTimeTwentyFourHourFormat()90 mDateTimeSettingsHelper.get().setTimeZone(TIME_ZONE); in testSetTimeZone()91 assertTrue(mDateTimeSettingsHelper.get().getTimeZone().equals(TIME_ZONE_FULL)); in testSetTimeZone()[all …]
35 private HelperAccessor<IAutoDateTimeSettingsHelper> mDateTimeSettingsHelper; field in SettingsSnippet40 mDateTimeSettingsHelper = new HelperAccessor<>(IAutoDateTimeSettingsHelper.class); in SettingsSnippet()132 return mDateTimeSettingsHelper.get().getTimeZone(); in getTimeZone()138 mDateTimeSettingsHelper.get().setTimeZone(timezone); in setTimeZone()