Uses of Class
net.time4j.range.ClockInterval
-
Uses of ClockInterval in net.time4j.range
Modifier and TypeFieldDescriptionstatic ClockInterval
ClockInterval.FULL_DAY
Represents the full day from 00:00 inclusive to 24:00 exclusive.Modifier and TypeMethodDescriptionstatic ClockInterval
Creates a finite half-open interval between given wall times.static ClockInterval
Creates a finite half-open interval between given wall times.static ClockInterval
ClockInterval.from(ChronoInterval<PlainTime> interval)
Converts an arbitrary clock interval to an interval of this type.Moves this interval along the time axis by given units.static ClockInterval
ClockInterval.parse(CharSequence text, ChronoParser<PlainTime> startFormat, char separator, ChronoParser<PlainTime> endFormat, BracketPolicy policy, ParseLog status)
Interpretes given text as interval.static ClockInterval
ClockInterval.parse(CharSequence text, ChronoParser<PlainTime> parser, BracketPolicy policy)
Interpretes given text as interval.static ClockInterval
ClockInterval.parse(String text, ChronoParser<PlainTime> parser)
Interpretes given text as interval using a localized interval pattern.static ClockInterval
ClockInterval.parse(String text, ChronoParser<PlainTime> parser, String intervalPattern)
Interpretes given text as interval using given interval pattern.static ClockInterval
Interpretes given ISO-conforming text as interval.static ClockInterval
Creates a finite half-open interval between given start time and midnight at end of day (exclusive).static ClockInterval
Creates a finite half-open interval between given start time and midnight at end of day (exclusive).static ClockInterval
Creates a finite half-open interval between midnight at start of day and given end time.static ClockInterval
Creates a finite half-open interval between midnight at start of day and given end time.Modifier and TypeMethodDescriptionDayPartitionBuilder.addDailyRule(ClockInterval partition)
Adds a rule to partition any calendar date.DayPartitionBuilder.addSpecialRule(PlainDate specialDay, ClockInterval partition)
Adds a rule to partition a special calendar date.DayPartitionBuilder.addWeekdayRule(SpanOfWeekdays spanOfWeekdays, ClockInterval partition)
Adds a rule to partition a date dependending on when its day of week falls into given range.DayPartitionBuilder.addWeekdayRule(Weekday dayOfWeek, ClockInterval partition)
Adds a rule to partition a date dependending on its day of week.DayPartitionBuilder.addWeekdayRule(Weekday from, Weekday to, ClockInterval partition)
Adds a rule to partition a date dependending on when its day of week falls into given range.static IntervalRelation
IntervalRelation.between(ClockInterval a, ClockInterval b)
Determines the relation between given intervals.boolean
IntervalRelation.matches(ClockInterval a, ClockInterval b)
Does this relation match the relation between given intervals?