Package org.elasticsearch.common
Class LocalTimeOffset.Overlap
java.lang.Object
org.elasticsearch.common.LocalTimeOffset
org.elasticsearch.common.LocalTimeOffset.Transition
org.elasticsearch.common.LocalTimeOffset.Overlap
- Enclosing class:
- LocalTimeOffset
- 
Nested Class SummaryNested classes/interfaces inherited from class org.elasticsearch.common.LocalTimeOffsetLocalTimeOffset.Gap, LocalTimeOffset.Lookup, LocalTimeOffset.Overlap, LocalTimeOffset.Strategy, LocalTimeOffset.Transition
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanDoes this transition or any previous transitions move back to the previous day? SeeLocalTimeOffset.Lookup.anyMoveBackToPreviousDay()for rules.longThe first local time after the overlap stops.longThe first local time to be appear twice.longlocalToUtc(long localMillis, LocalTimeOffset.Strategy strat)Convert a local time that occurs during this offset or a previous offset to utc, providing a strategy for how to resolve "funny" cases.protected StringtoString(long millis)Methods inherited from class org.elasticsearch.common.LocalTimeOffset.TransitioncontainsUtcMillis, offsetContaining, previous, startUtcMillisMethods inherited from class org.elasticsearch.common.LocalTimeOffsetfixedOffset, localToUtcInThisOffset, lookup, toString, utcToLocalTime
- 
Method Details- 
localToUtcDescription copied from class:LocalTimeOffsetConvert a local time that occurs during this offset or a previous offset to utc, providing a strategy for how to resolve "funny" cases. You can use this if you've converted from utc to local, rounded down, and then want to convert back to utc and you need fine control over how to handle the "funny" edges.This will not help you if you must convert a local time that you've rounded up. For that you are on your own. May God have mercy on your soul. - Specified by:
- localToUtcin class- LocalTimeOffset
 
- 
firstNonOverlappingLocalTimepublic long firstNonOverlappingLocalTime()The first local time after the overlap stops.
- 
firstOverlappingLocalTimepublic long firstOverlappingLocalTime()The first local time to be appear twice.
- 
anyMoveBackToPreviousDayprotected boolean anyMoveBackToPreviousDay()Description copied from class:LocalTimeOffsetDoes this transition or any previous transitions move back to the previous day? SeeLocalTimeOffset.Lookup.anyMoveBackToPreviousDay()for rules.- Specified by:
- anyMoveBackToPreviousDayin class- LocalTimeOffset
 
- 
toString- Specified by:
- toStringin class- LocalTimeOffset
 
 
-