Uses of Class
net.time4j.range.TimestampInterval
Packages that use TimestampInterval
-
Uses of TimestampInterval in net.time4j.range
Fields in net.time4j.range declared as TimestampIntervalModifier and TypeFieldDescriptionstatic TimestampIntervalTimestampInterval.ALWAYSConstant for a timestamp interval from infinite past to infinite future.Methods in net.time4j.range that return TimestampIntervalModifier and TypeMethodDescriptionstatic TimestampIntervalTimestampInterval.between(LocalDateTime start, LocalDateTime end)Creates a finite half-open interval between given time points.static TimestampIntervalTimestampInterval.between(PlainTimestamp start, PlainTimestamp end)Creates a finite half-open interval between given time points.static TimestampIntervalTimestampInterval.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 TimestampIntervalTimestampInterval.parse(CharSequence text, ChronoParser<PlainTimestamp> startFormat, char separator, ChronoParser<PlainTimestamp> endFormat, BracketPolicy policy, ParseLog status)Interpretes given text as interval.static TimestampIntervalTimestampInterval.parse(CharSequence text, ChronoParser<PlainTimestamp> parser, BracketPolicy policy)Interpretes given text as interval.static TimestampIntervalTimestampInterval.parse(String text, ChronoParser<PlainTimestamp> parser)Interpretes given text as interval using a localized interval pattern.static TimestampIntervalTimestampInterval.parse(String text, ChronoParser<PlainTimestamp> parser, String intervalPattern)Interpretes given text as interval using given interval pattern.static TimestampIntervalInterpretes given ISO-conforming text as interval.static TimestampIntervalTimestampInterval.since(LocalDateTime start)Creates an infinite half-open interval since given start timestamp.static TimestampIntervalTimestampInterval.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 TimestampIntervalTimestampInterval.until(LocalDateTime end)Creates an infinite open interval until given end timestamp.static TimestampIntervalTimestampInterval.until(PlainTimestamp end)Creates an infinite open interval until given end timestamp.Methods in net.time4j.range that return types with arguments of type TimestampIntervalModifier 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.Methods in net.time4j.range with parameters of type TimestampIntervalModifier and TypeMethodDescriptionstatic IntervalRelationIntervalRelation.between(TimestampInterval a, TimestampInterval b)Determines the relation between given intervals.booleanIntervalRelation.matches(TimestampInterval a, TimestampInterval b)Does this relation match the relation between given intervals?