Uses of Class
net.time4j.range.TimestampInterval
-
Uses of TimestampInterval in net.time4j.range
Modifier and TypeFieldDescriptionstatic TimestampInterval
TimestampInterval.ALWAYS
Constant for a timestamp interval from infinite past to infinite future.Modifier and TypeMethodDescriptionstatic TimestampInterval
TimestampInterval.between(LocalDateTime start, LocalDateTime end)
Creates a finite half-open interval between given time points.static TimestampInterval
TimestampInterval.between(PlainTimestamp start, PlainTimestamp end)
Creates a finite half-open interval between given time points.static TimestampInterval
TimestampInterval.from(ChronoInterval<PlainTimestamp> interval)
Converts an arbitrary timestamp interval to an interval of this type.Moves this interval along the time axis by given units.Creates a timestamp interval for given calendar date based on this clock interval.static TimestampInterval
TimestampInterval.parse(CharSequence text, ChronoParser<PlainTimestamp> startFormat, char separator, ChronoParser<PlainTimestamp> endFormat, BracketPolicy policy, ParseLog status)
Interpretes given text as interval.static TimestampInterval
TimestampInterval.parse(CharSequence text, ChronoParser<PlainTimestamp> parser, BracketPolicy policy)
Interpretes given text as interval.static TimestampInterval
TimestampInterval.parse(String text, ChronoParser<PlainTimestamp> parser)
Interpretes given text as interval using a localized interval pattern.static TimestampInterval
TimestampInterval.parse(String text, ChronoParser<PlainTimestamp> parser, String intervalPattern)
Interpretes given text as interval using given interval pattern.static TimestampInterval
Interpretes given ISO-conforming text as interval.static TimestampInterval
TimestampInterval.since(LocalDateTime start)
Creates an infinite half-open interval since given start timestamp.static TimestampInterval
TimestampInterval.since(PlainTimestamp start)
Creates an infinite half-open interval since given start timestamp.DateInterval.toFullDays()
Converts this instance to a timestamp interval with dates from midnight to midnight.MomentInterval.toLocalInterval()
Converts this instance to a local timestamp interval in the system timezone.MomentInterval.toZonalInterval(String tzid)
Converts this instance to a zonal timestamp interval in given timezone.MomentInterval.toZonalInterval(TZID tzid)
Converts this instance to a zonal timestamp interval in given timezone.static TimestampInterval
TimestampInterval.until(LocalDateTime end)
Creates an infinite open interval until given end timestamp.static TimestampInterval
TimestampInterval.until(PlainTimestamp end)
Creates an infinite open interval until given end timestamp.Modifier and TypeMethodDescriptionstatic IsoRecurrence<TimestampInterval>
IsoRecurrence.of(int count, Duration<?> duration, PlainTimestamp end)
Creates a recurrent backward sequence of timestamp intervals having given duration.static IsoRecurrence<TimestampInterval>
IsoRecurrence.of(int count, PlainTimestamp start, Duration<?> duration)
Creates a recurrent sequence of timestamp intervals having given duration.static IsoRecurrence<TimestampInterval>
IsoRecurrence.of(int count, PlainTimestamp start, PlainTimestamp end)
Creates a recurrent sequence of timestamp intervals having the duration of first timestamp interval in years, months, days, hours, minutes, seconds and nanoseconds.static IsoRecurrence<TimestampInterval>
IsoRecurrence.parseTimestampIntervals(String iso)
Parses a string like "R5/2016-04-01T10:45/2016-04-30T23:59" to a sequence of recurrent timestamp intervals.DateInterval.streamPartitioned(DayPartitionRule rule)
Creates a partitioning stream of timestamp intervals where every day of this interval is partitioned according to given partitioning rule.TimestampInterval.streamPartitioned(DayPartitionRule rule)
Creates a partitioning stream of timestamp intervals where every day of this interval is partitioned according to given partitioning rule.Modifier and TypeMethodDescriptionstatic IntervalRelation
IntervalRelation.between(TimestampInterval a, TimestampInterval b)
Determines the relation between given intervals.boolean
IntervalRelation.matches(TimestampInterval a, TimestampInterval b)
Does this relation match the relation between given intervals?