public override Clock WithZone(ZoneId zone) { if (zone.Equals(BaseClock.Zone)) // intentional NPE { return(this); } return(new TickClock(BaseClock.WithZone(zone), TickNanos)); }
public override Clock WithZone(ZoneId zone) { if (zone.Equals(BaseClock.Zone)) // intentional NPE { return(this); } return(new OffsetClock(BaseClock.WithZone(zone), Offset)); }