Uses of Class
net.time4j.range.MomentInterval
Packages that use MomentInterval
-
Uses of MomentInterval in net.time4j.range
Fields in net.time4j.range declared as MomentIntervalModifier and TypeFieldDescriptionstatic MomentIntervalMomentInterval.ALWAYSConstant for a moment interval from infinite past to infinite future.Methods in net.time4j.range that return MomentIntervalModifier and TypeMethodDescriptionTimestampInterval.at(ZonalOffset offset)Combines this local timestamp interval with given timezone offset to a global UTC-interval.TimestampInterval.atUTC()Combines this local timestamp interval with the timezone offset UTC+00:00 to a global UTC-interval.static MomentIntervalCreates a finite half-open interval between given time points.static MomentIntervalCreates a finite half-open interval between given time points.static MomentIntervalMomentInterval.from(ChronoInterval<Moment> interval)Converts an arbitrary moment interval to an interval of this type.TimestampInterval.inStdTimezone()Combines this local timestamp interval with the system timezone to a global UTC-interval.DateInterval.inTimezone(TZID tzid)Converts this instance to a moment interval with date boundaries mapped to the midnight cycle in given time zone.TimestampInterval.inTimezone(TZID tzid)Combines this local timestamp interval with given timezone to a global UTC-interval.Moves this interval along the POSIX-axis by given time units.Moves this interval along the UTC-axis by given SI-units.static MomentIntervalMomentInterval.parse(CharSequence text, ChronoParser<Moment> startFormat, char separator, ChronoParser<Moment> endFormat, BracketPolicy policy, ParseLog status)Interpretes given text as interval.static MomentIntervalMomentInterval.parse(CharSequence text, ChronoParser<Moment> parser, BracketPolicy policy)Interpretes given text as interval.static MomentIntervalMomentInterval.parse(String text, ChronoParser<Moment> parser)Interpretes given text as interval using a localized interval pattern.static MomentIntervalMomentInterval.parse(String text, ChronoParser<Moment> parser, String intervalPattern)Interpretes given text as interval using given interval pattern.static MomentIntervalInterpretes given ISO-conforming text as interval.static MomentIntervalCreates an infinite half-open interval since given start.static MomentIntervalCreates an infinite half-open interval since given start.static MomentIntervalMomentInterval.surrounding(Instant instant, Duration duration, double alignment)Creates an interval surrounding given instant.static MomentIntervalMomentInterval.surrounding(Moment moment, MachineTime<?> duration, double alignment)Creates an interval surrounding given moment.static MomentIntervalCreates an infinite open interval until given end.static MomentIntervalCreates an infinite open interval until given end.Methods in net.time4j.range that return types with arguments of type MomentIntervalModifier and TypeMethodDescriptionstatic IsoRecurrence<MomentInterval>IsoRecurrence.of(int count, Duration<?> duration, Moment end, ZonalOffset offset)Creates a recurrent backward sequence of moment intervals having given duration.static IsoRecurrence<MomentInterval>IsoRecurrence.of(int count, Moment start, Duration<?> duration, ZonalOffset offset)Creates a recurrent sequence of moment intervals having given duration.static IsoRecurrence<MomentInterval>IsoRecurrence.of(int count, Moment start, Moment end, ZonalOffset offset)Creates a recurrent sequence of moment intervals having the duration of first timestamp interval in years, months, days, hours, minutes, seconds and nanoseconds.static IsoRecurrence<MomentInterval>IsoRecurrence.parseMomentIntervals(String iso)Parses a string like "R5/2016-04-01T10:45Z/30T23:59" to a sequence of recurrent moment intervals.DateInterval.streamPartitioned(DayPartitionRule rule, TZID tzid)Creates a partitioning stream of moment intervals where every day of this interval is partitioned according to given partitioning rule.Methods in net.time4j.range with parameters of type MomentIntervalModifier and TypeMethodDescriptionstatic IntervalRelationIntervalRelation.between(MomentInterval a, MomentInterval b)Determines the relation between given intervals.booleanIntervalRelation.matches(MomentInterval a, MomentInterval b)Does this relation match the relation between given intervals?