Searched refs:sClock (Results 1 – 5 of 5) sorted by relevance
38 sOriginalClock = RecurrenceRule.sClock; in setUp()44 RecurrenceRule.sClock = sOriginalClock; in tearDown()48 RecurrenceRule.sClock = Clock.fixed(instant, ZoneId.systemDefault()); in setClock()
51 public static Clock sClock = Clock.systemDefaultZone(); field in RecurrenceRule73 final ZonedDateTime now = ZonedDateTime.now(sClock).withZoneSameInstant(zone); in buildRecurringMonthly()202 : ZonedDateTime.now(sClock).withZoneSameInstant(start.getZone()); in RecurringIterator()
122 mPreviousRecurrenceRuleClock = RecurrenceRule.sClock; in setUp()123 RecurrenceRule.sClock = mClock; in setUp()162 RecurrenceRule.sClock = mPreviousRecurrenceRuleClock; in tearDown()
96 sOriginalClock = RecurrenceRule.sClock; in setUp()103 RecurrenceRule.sClock = sOriginalClock; in tearDown()108 RecurrenceRule.sClock = Clock.fixed(instant, ZoneId.systemDefault()); in setClock()
460 RecurrenceRule.sClock = Clock.systemDefaultZone(); in resetClock()930 RecurrenceRule.sClock = Clock.fixed(Instant.ofEpochMilli(currentTime),944 RecurrenceRule.sClock = Clock.fixed(Instant.ofEpochMilli(currentTime),2101 RecurrenceRule.sClock = Clock.fixed(Instant.ofEpochMilli(currentTimeMillis), in setCurrentTimeMillis()