Uses of Class
net.time4j.range.DateInterval
Packages that use DateInterval
-
Uses of DateInterval in net.time4j.range
Fields in net.time4j.range declared as DateIntervalModifier and TypeFieldDescriptionstatic DateIntervalDateInterval.ALWAYSConstant for a date interval from infinite past to infinite future.Methods in net.time4j.range that return DateIntervalModifier and TypeMethodDescriptionstatic DateIntervalCreates a closed interval including only given date.static DateIntervalCreates a closed interval including only given date.static DateIntervalCreates a closed interval between given dates.static DateIntervalCreates a closed interval between given dates.static DateIntervalDateInterval.emptyWithAnchor(LocalDate anchor)Creates an empty interval with an anchor date.static DateIntervalDateInterval.emptyWithAnchor(PlainDate anchor)Creates an empty interval with an anchor date.static DateIntervalDateInterval.from(ChronoInterval<PlainDate> interval)Converts an arbitrary date interval to an interval of this type.DateInterval.move(long amount, IsoDateUnit unit)Moves this interval along the time axis by given units.static DateIntervalDateInterval.ofCurrentWeek(TimeSource clock, TZID tzid, Weekday firstDay)Obtains the current calendar week based on given clock, time zone and first day of week.static DateIntervalDateInterval.parse(CharSequence text, ChronoParser<PlainDate> startFormat, char separator, ChronoParser<PlainDate> endFormat, BracketPolicy policy, ParseLog status)Interpretes given text as interval.static DateIntervalDateInterval.parse(CharSequence text, ChronoParser<PlainDate> parser, BracketPolicy policy)Interpretes given text as interval.static DateIntervalDateInterval.parse(String text, ChronoParser<PlainDate> parser)Interpretes given text as interval using a localized interval pattern.static DateIntervalDateInterval.parse(String text, ChronoParser<PlainDate> parser, String intervalPattern)Interpretes given text as interval using given interval pattern.static DateIntervalInterpretes given ISO-conforming text as interval.static DateIntervalCreates an infinite interval since given start date.static DateIntervalCreates an infinite interval since given start date.FixedCalendarInterval.toFlexInterval()Converts this fixed interval to a date interval with flexible boundaries which can participate in any kind of interval boundary manipulations.static DateIntervalCreates an infinite interval until given end date.static DateIntervalCreates an infinite interval until given end date.Methods in net.time4j.range that return types with arguments of type DateIntervalModifier and TypeMethodDescriptionstatic IsoRecurrence<DateInterval>IsoRecurrence.of(int count, Duration<? extends IsoDateUnit> duration, PlainDate end)Creates a recurrent backward sequence of date intervals having given duration.static IsoRecurrence<DateInterval>IsoRecurrence.of(int count, PlainDate start, Duration<? extends IsoDateUnit> duration)Creates a recurrent sequence of date intervals having given duration.static IsoRecurrence<DateInterval>Creates a recurrent sequence of date intervals having the duration of first interval in years, months and days.static IsoRecurrence<DateInterval>IsoRecurrence.parseDateIntervals(String iso)Parses a string like "R5/2016-04-01/2016-04-30" or "R5/2016-04-01/P1M" to a sequence of recurrent date intervals.Methods in net.time4j.range with parameters of type DateIntervalModifier and TypeMethodDescriptionstatic IntervalRelationIntervalRelation.between(DateInterval a, DateInterval b)Determines the relation between given intervals.booleanIntervalRelation.matches(DateInterval a, DateInterval b)Does this relation match the relation between given intervals?