| Package | Description |
|---|---|
| net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment. |
| net.time4j.calendar |
Support for various regional calendars.
|
| net.time4j.format.expert |
This package contains the expert-level format- and parse engine of Time4J.
|
| net.time4j.format.platform |
Temporal formatters which access the platform specific resources.
|
| net.time4j.history |
Support for the historical ancestors of modern ISO-8601-standard.
|
| net.time4j.range |
Interval support.
|
| net.time4j.tz.model |
Permits the construction of historized or rule-based timezones.
|
| Modifier and Type | Field and Description |
|---|---|
static ProportionalElement<Integer,PlainDate> |
PlainDate.DAY_OF_MONTH
Element with the day of month in the value range
1-28/29/30/31. |
static ProportionalElement<Integer,PlainDate> |
PlainDate.DAY_OF_QUARTER
Element with the day within a quarter of year in the value range
1-90/91/92. |
static ProportionalElement<Integer,PlainDate> |
PlainDate.DAY_OF_YEAR
Element with the day of year in the value range
1-365/366). |
static TemporalType<LocalDate,PlainDate> |
TemporalType.LOCAL_DATE
Bridge between the JSR-310-class
java.time.LocalDate and
the class PlainDate. |
static ProportionalElement<Integer,PlainDate> |
PlainDate.MONTH_AS_NUMBER
Element with the calendar month in numerical form and the value range
1-12. |
static AdjustableElement<Integer,PlainDate> |
PlainDate.YEAR
Element with the proleptic iso-year without any era reference and
the value range
-999999999 until 999999999. |
static AdjustableElement<Integer,PlainDate> |
PlainDate.YEAR_OF_WEEKDATE
Defines an element for the week-based year in an
ISO-8601-weekdate.
|
| Modifier and Type | Method and Description |
|---|---|
PlainDate |
Weekday.apply(PlainDate date) |
PlainDate |
Quarter.apply(PlainDate date) |
PlainDate |
Month.apply(PlainDate date) |
PlainDate |
AnnualDate.atYear(int year)
Creates a complete ISO calendar date for given gregorian year.
|
static PlainDate |
PlainDate.from(GregorianDate date)
Common conversion method for proleptic gregorian dates.
|
static PlainDate |
PlainDate.from(LocalDate date)
Short cut for
TemporalType.LOCAL_DATE.translate(date). |
PlainDate |
PlainTimestamp.getCalendarDate()
Provides the calendar date part.
|
PlainDate |
PlainDate.minus(long amount,
CalendarUnit unit)
Subtracts given amount in units from this date and yields the result of subtraction.
|
static PlainDate |
PlainDate.nowInSystemTime()
Obtains the current date in system time.
|
static PlainDate |
PlainDate.of(int year,
int dayOfYear)
Creates a new ordinal date conforming to ISO-8601.
|
static PlainDate |
PlainDate.of(int year,
int month,
int dayOfMonth)
Creates a new calendar date conforming to ISO-8601.
|
static PlainDate |
PlainDate.of(int yearOfWeekdate,
int weekOfYear,
Weekday dayOfWeek)
Creates a new week-date conforming to ISO-8601.
|
static PlainDate |
PlainDate.of(int year,
Month month,
int dayOfMonth)
Creates a new calendar date conforming to ISO-8601.
|
static PlainDate |
PlainDate.of(long amount,
EpochDays epoch)
Creates a new date based on count of days since given epoch.
|
static PlainDate |
PlainDate.parse(String text,
TemporalFormatter<PlainDate> parser)
Parses given text to an instance of this class.
|
PlainDate |
PlainDate.plus(long amount,
CalendarUnit unit)
Adds given amount in units to this date and yields the result of addition.
|
PlainDate |
PlainTimestamp.toDate()
Synonym for
getCalendarDate(). |
PlainDate |
ZonalClock.today()
Gets the current date in the associated timezone.
|
| Modifier and Type | Method and Description |
|---|---|
ChronoOperator<PlainDate> |
AnnualDate.asNextExactEvent()
Determines the next possible exact annual date.
|
ChronoOperator<PlainDate> |
AnnualDate.asNextRoundedEvent()
Determines the next possible annual date and rounds up to next day if necessary.
|
static TimeAxis<IsoDateUnit,PlainDate> |
PlainDate.axis()
Provides a static access to the associated chronology on base of
epoch days which contains the chronological rules.
|
AdjustableElement<Integer,PlainDate> |
Weekmodel.boundedWeekOfMonth()
Defines an element for the week of month with a localized week number,
constrained to the current calendar month.
|
AdjustableElement<Integer,PlainDate> |
Weekmodel.boundedWeekOfYear()
Defines an element for the week of year with a localized week number,
constrained to the current calendar year.
|
ElementOperator<PlainDate> |
CalendarDateElement.firstDayOfNextMonth()
Adjusts a calendar date to the first day of next month.
|
ElementOperator<PlainDate> |
CalendarDateElement.firstDayOfNextQuarter()
Adjusts a calendar date to the first day of next quarter year.
|
ElementOperator<PlainDate> |
CalendarDateElement.firstDayOfNextYear()
Adjusts a calendar date to the first day of next year.
|
ElementOperator<PlainDate> |
CalendarDateElement.lastDayOfPreviousMonth()
Adjusts a calendar date to the last day of previous month.
|
ElementOperator<PlainDate> |
CalendarDateElement.lastDayOfPreviousQuarter()
Adjusts a calendar date to the last day of previous quarter year.
|
ElementOperator<PlainDate> |
CalendarDateElement.lastDayOfPreviousYear()
Adjusts a calendar date to the last day of previous year.
|
default ElementOperator<PlainDate> |
OrdinalWeekdayElement.setTo(int ordinal,
Weekday dayOfWeek)
Defines an operator which moves a date to the given ordinal weekday
in month.
|
ElementOperator<PlainDate> |
OrdinalWeekdayElement.setToFirst(Weekday dayOfWeek)
Defines an operator which moves a date to the first given weekday
in month.
|
ElementOperator<PlainDate> |
OrdinalWeekdayElement.setToFourth(Weekday dayOfWeek)
Defines an operator which moves a date to the fourth given weekday
in month.
|
ElementOperator<PlainDate> |
OrdinalWeekdayElement.setToLast(Weekday dayOfWeek)
Defines an operator which moves a date to the last given weekday
in month.
|
ElementOperator<PlainDate> |
NavigableElement.setToNext(V value)
Moves a time point to the first given element value which is after
the current element value.
|
ElementOperator<PlainDate> |
NavigableElement.setToNextOrSame(V value)
Moves a time point to the first given element value which is after
or equal to the current element value.
|
ElementOperator<PlainDate> |
NavigableElement.setToPrevious(V value)
Moves a time point to the first given element value which is before
the current element value.
|
ElementOperator<PlainDate> |
NavigableElement.setToPreviousOrSame(V value)
Moves a time point to the first given element value which is before
or equal to the current element value.
|
ElementOperator<PlainDate> |
OrdinalWeekdayElement.setToSecond(Weekday dayOfWeek)
Defines an operator which moves a date to the second given weekday
in month.
|
ElementOperator<PlainDate> |
OrdinalWeekdayElement.setToThird(Weekday dayOfWeek)
Defines an operator which moves a date to the third given weekday
in month.
|
AdjustableElement<Integer,PlainDate> |
Weekmodel.weekOfMonth()
Defines an element for the calendar week of month with a localized
week number.
|
AdjustableElement<Integer,PlainDate> |
Weekmodel.weekOfYear()
Defines an element for the calendar week of year with a localized
week number.
|
| Modifier and Type | Method and Description |
|---|---|
PlainDate |
Weekday.apply(PlainDate date) |
PlainDate |
Quarter.apply(PlainDate date) |
PlainDate |
Month.apply(PlainDate date) |
long |
Weekcycle.between(PlainDate start,
PlainDate end)
Calculates the temporal distance between given calendar dates
in this calendar unit.
|
static PlainTimestamp |
PlainTimestamp.of(PlainDate date,
PlainTime time)
Creates a new local timestamp with calendar date and wall time.
|
String |
PrettyTime.printRelativeOrDate(PlainDate date,
TZID tzid,
CalendarUnit maxRelativeUnit,
TemporalFormatter<PlainDate> formatter)
Formats given date relative to the current date of
PrettyTime.getReferenceClock()
as duration or as absolute date. |
PlainTimestamp |
PlainTimestamp.with(PlainDate date)
Adjusts the calendar part of this timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
static PlainDate |
PlainDate.parse(String text,
TemporalFormatter<PlainDate> parser)
Parses given text to an instance of this class.
|
String |
PlainDate.print(TemporalFormatter<PlainDate> printer)
Creates a formatted output of this instance.
|
String |
PrettyTime.printRelativeOrDate(PlainDate date,
TZID tzid,
CalendarUnit maxRelativeUnit,
TemporalFormatter<PlainDate> formatter)
Formats given date relative to the current date of
PrettyTime.getReferenceClock()
as duration or as absolute date. |
| Modifier and Type | Method and Description |
|---|---|
PlainDate |
HijriData.firstGregorianDate()
Obtains the gregorian date of first day and month in minimum Hijri year.
|
PlainDate |
Nengo.getStart()
Obtains the first date when this nengo took effect.
|
| Modifier and Type | Method and Description |
|---|---|
ChronoFunction<CalendarDate,List<PlainDate>> |
HebrewAnniversary.inGregorianYear(int gyear)
Determines the input calendar date as original event date and determines the anniversary days of this event
in given gregorian year.
|
| Modifier and Type | Field and Description |
|---|---|
static ChronoFormatter<PlainDate> |
Iso8601Format.BASIC_CALENDAR_DATE
Defines the basic ISO-8601-format with year, month and day
of month using the pattern "uuuuMMdd".
|
static ChronoFormatter<PlainDate> |
Iso8601Format.BASIC_DATE
Similar to
Iso8601Format.BASIC_CALENDAR_DATE but its parser can also
understand ordinal dates or week dates. |
static ChronoFormatter<PlainDate> |
Iso8601Format.BASIC_ORDINAL_DATE
Defines the basic ISO-8601-format with year and day of year
using the pattern "uuuuDDD".
|
static ChronoFormatter<PlainDate> |
Iso8601Format.BASIC_WEEK_DATE
Defines the basic ISO-8601-format for a week date using
the pattern "YYYYWwwE".
|
static ChronoFormatter<PlainDate> |
Iso8601Format.EXTENDED_CALENDAR_DATE
Defines the extended ISO-8601-format with year, month and
day of month using the pattern "uuuu-MM-dd".
|
static ChronoFormatter<PlainDate> |
Iso8601Format.EXTENDED_DATE
Similar to
Iso8601Format.EXTENDED_CALENDAR_DATE but its parser can also
understand ordinal dates or week dates. |
static ChronoFormatter<PlainDate> |
Iso8601Format.EXTENDED_ORDINAL_DATE
Defines the extended ISO-8601-format with year and day
of year using the pattern "uuuu-DDD".
|
static ChronoFormatter<PlainDate> |
Iso8601Format.EXTENDED_WEEK_DATE
Defines the extended ISO-8601-format for a week date
using the pattern "YYYY-Www-E".
|
| Modifier and Type | Method and Description |
|---|---|
static PlainDate |
Iso8601Format.parseDate(CharSequence iso)
Parses given ISO-8601-compatible date string in basic or extended format.
|
static PlainDate |
Iso8601Format.parseDate(CharSequence iso,
ParseLog plog)
Parses given ISO-8601-compatible date string in basic or extended format.
|
| Modifier and Type | Method and Description |
|---|---|
static ChronoPrinter<PlainDate> |
Iso8601Format.ofDate(IsoDateStyle style)
Obtains a printer with given styles for printing a calendar date.
|
static ChronoFormatter<PlainDate> |
ChronoFormatter.ofDatePattern(String pattern,
PatternType type,
Locale locale)
Constructs a pattern-based formatter for plain date objects.
|
static ChronoFormatter<PlainDate> |
ChronoFormatter.ofDateStyle(DisplayMode style,
Locale locale)
Deprecated.
|
static ChronoFormatter<PlainDate> |
ChronoFormatter.ofDateStyle(FormatStyle style,
Locale locale)
Constructs a style-based formatter for plain date objects.
|
| Modifier and Type | Method and Description |
|---|---|
ChronoFormatter<T> |
ChronoFormatter.withGregorianCutOver(PlainDate date)
Short-cut for
with(ChronoHistory.ofGregorianReform(date)). |
| Modifier and Type | Method and Description |
|---|---|
static SimpleFormatter<PlainDate> |
SimpleFormatter.ofDatePattern(String pattern,
Locale locale)
Creates a new formatter which uses the given pattern and locale
for formatting and parsing plain dates.
|
static SimpleFormatter<PlainDate> |
SimpleFormatter.ofDateStyle(DisplayMode style,
Locale locale)
Deprecated.
|
static SimpleFormatter<PlainDate> |
SimpleFormatter.ofDateStyle(FormatStyle style,
Locale locale)
Constructs a style-based formatter for plain date objects.
|
| Modifier and Type | Method and Description |
|---|---|
PlainDate |
ChronoHistory.convert(HistoricDate date)
Converts given historic date to an ISO-8601-date.
|
PlainDate |
Computus.easterSunday(int annoDomini)
Calculates the date of Easter Sunday.
|
PlainDate |
ChronoHistory.getGregorianCutOverDate()
Yields the date of final introduction of gregorian calendar.
|
| Modifier and Type | Method and Description |
|---|---|
static EraPreference |
EraPreference.abUrbeConditaBetween(PlainDate start,
PlainDate end)
Determines the era Ab Urbe Condita to be preferred within given date range.
|
static EraPreference |
EraPreference.abUrbeConditaUntil(PlainDate end)
Determines the era Ab Urbe Condita to be preferred until given date.
|
static EraPreference |
EraPreference.byzantineBetween(PlainDate start,
PlainDate end)
Determines the era Anno Mundi to be preferred within given date range.
|
static EraPreference |
EraPreference.byzantineUntil(PlainDate end)
Determines the era Anno Mundi to be preferred until given date.
|
HistoricDate |
ChronoHistory.convert(PlainDate date)
Converts given ISO-8601-date to a historic date.
|
static EraPreference |
EraPreference.hispanicBetween(PlainDate start,
PlainDate end)
Determines the hispanic era to be preferred within given date range.
|
static EraPreference |
EraPreference.hispanicUntil(PlainDate end)
Determines the hispanic era to be preferred until given date.
|
static ChronoHistory |
ChronoHistory.ofGregorianReform(PlainDate start)
Describes a single switch from julian to gregorian calendar at given date.
|
| Modifier and Type | Method and Description |
|---|---|
static <I extends ChronoInterval<PlainDate>> |
IntervalTree.onDateAxis(Collection<I> intervals)
Creates an interval tree on the date axis filled with given date intervals.
|
| Modifier and Type | Method and Description |
|---|---|
PlainDate |
CalendarWeek.at(Weekday dayOfWeek)
Combines this calendar week with given day of week to a calendar date.
|
PlainDate |
CalendarMonth.atDayOfMonth(int dayOfMonth)
Combines this year and month with given day of month to a calendar date.
|
PlainDate |
CalendarQuarter.atDayOfQuarter(int dayOfQuarter)
Combines this calendar quarter with given day of quarter year to a calendar date.
|
PlainDate |
CalendarYear.atDayOfYear(int dayOfYear)
Combines this year with given day of year to a calendar date.
|
PlainDate |
CalendarMonth.atEndOfMonth()
Yields the date of the end of this calendar month.
|
PlainDate |
CalendarQuarter.atEndOfQuarter()
Yields the date of the end of this quarter year.
|
PlainDate |
DateInterval.getEndAsCalendarDate()
Yields the end date.
|
PlainDate |
DateInterval.getStartAsCalendarDate()
Yields the start date.
|
PlainDate |
DateInterval.random()
Obtains a random date within this interval.
|
| Modifier and Type | Method and Description |
|---|---|
static Comparator<ChronoInterval<PlainDate>> |
DateInterval.comparator()
Defines a comparator which sorts intervals first
by start boundary and then by length.
|
default ChronoFunction<ChronoInterval<PlainDate>,Integer> |
HolidayModel.countOfBusinessDays()
Queries the count of business days in an arbitrary date interval.
|
default ChronoFunction<ChronoInterval<PlainDate>,Integer> |
HolidayModel.countOfHolidays()
Queries the count of non-business days in an arbitrary date interval.
|
default ChronoFunction<ChronoInterval<PlainDate>,PlainDate> |
HolidayModel.firstBusinessDay()
Queries the first business day in an arbitrary date interval.
|
default ChronoFunction<ChronoInterval<PlainDate>,PlainDate> |
HolidayModel.firstBusinessDay()
Queries the first business day in an arbitrary date interval.
|
default ChronoCondition<PlainDate> |
HolidayModel.firstBusinessDayInMonth()
Queries if a given date is the first business day of month.
|
Boundary<PlainDate> |
CalendarYear.getEnd() |
Boundary<PlainDate> |
CalendarWeek.getEnd() |
Boundary<PlainDate> |
CalendarQuarter.getEnd() |
Boundary<PlainDate> |
CalendarMonth.getEnd() |
Boundary<PlainDate> |
CalendarYear.getStart() |
Boundary<PlainDate> |
CalendarWeek.getStart() |
Boundary<PlainDate> |
CalendarQuarter.getStart() |
Boundary<PlainDate> |
CalendarMonth.getStart() |
Iterator<PlainDate> |
CalendarYear.iterator()
Iterates over all days of this year.
|
Iterator<PlainDate> |
CalendarWeek.iterator()
Iterates over all seven days from Monday to Sunday.
|
Iterator<PlainDate> |
CalendarQuarter.iterator()
Iterates over all days of this calendar quarter year.
|
Iterator<PlainDate> |
CalendarMonth.iterator()
Iterates over all days of this calendar month.
|
default ChronoFunction<ChronoInterval<PlainDate>,PlainDate> |
HolidayModel.lastBusinessDay()
Queries the last business day in an arbitrary date interval.
|
default ChronoFunction<ChronoInterval<PlainDate>,PlainDate> |
HolidayModel.lastBusinessDay()
Queries the last business day in an arbitrary date interval.
|
default ChronoCondition<PlainDate> |
HolidayModel.lastBusinessDayInMonth()
Queries if a given date is the last business day of month.
|
default ChronoOperator<PlainDate> |
HolidayModel.nextBusinessDay()
Determines the next business day.
|
default ChronoOperator<PlainDate> |
HolidayModel.nextOrSameBusinessDay()
Determines the same or next business day.
|
static IntervalCollection<PlainDate> |
IntervalCollection.onDateAxis()
Yields an empty instance on the date axis.
|
static <I extends ChronoInterval<PlainDate>> |
IntervalTree.onDateAxis(Collection<I> intervals)
Creates an interval tree on the date axis filled with given date intervals.
|
default ChronoOperator<PlainDate> |
HolidayModel.previousBusinessDay()
Determines the previous business day.
|
default ChronoOperator<PlainDate> |
HolidayModel.previousOrSameBusinessDay()
Determines the same or previous business day.
|
Stream<PlainDate> |
DateInterval.stream(Duration<CalendarUnit> duration)
Obtains a stream iterating over every calendar date which is the result of addition of given duration
to start until the end of this interval is reached.
|
static Stream<PlainDate> |
DateInterval.stream(Duration<CalendarUnit> duration,
PlainDate start,
PlainDate end)
Obtains a stream iterating over every calendar date which is the result of addition of given duration
to start until the end is reached.
|
Stream<PlainDate> |
FixedCalendarInterval.streamDaily()
Obtains a stream iterating over every calendar date of this interval.
|
Stream<PlainDate> |
DateInterval.streamDaily()
Obtains a stream iterating over every calendar date of the canonical form of this interval.
|
static Stream<PlainDate> |
DateInterval.streamDaily(PlainDate start,
PlainDate end)
Obtains a stream iterating over every calendar date between given interval boundaries.
|
Stream<PlainDate> |
DateInterval.streamExcluding(Predicate<? super PlainDate> exclusion)
Obtains a stream iterating over every calendar date of the canonical form of this interval
and applies given exclusion filter.
|
Stream<PlainDate> |
DateInterval.streamWeekBased(int weekBasedYears,
int isoWeeks,
int days)
Obtains a stream iterating over every calendar date which is the result of addition of given duration
in week-based units to start until the end of this interval is reached.
|
<V> ValueInterval<PlainDate,T,V> |
FixedCalendarInterval.withValue(V value)
Creates a combination of this interval with an associated value.
|
| Modifier and Type | Method and Description |
|---|---|
DayPartitionBuilder |
DayPartitionBuilder.addExclusion(PlainDate date)
Adds an exclusion date.
|
DayPartitionBuilder |
DayPartitionBuilder.addSpecialRule(PlainDate specialDay,
ClockInterval partition)
Adds a rule to partition a special calendar date.
|
static DateInterval |
DateInterval.atomic(PlainDate date)
Creates a closed interval including only given date.
|
static DateInterval |
DateInterval.between(PlainDate start,
PlainDate end)
Creates a closed interval between given dates.
|
boolean |
CalendarYear.contains(PlainDate temporal) |
boolean |
CalendarWeek.contains(PlainDate temporal) |
boolean |
CalendarQuarter.contains(PlainDate temporal) |
boolean |
CalendarMonth.contains(PlainDate temporal) |
static DateInterval |
DateInterval.emptyWithAnchor(PlainDate anchor)
Creates an empty interval with an anchor date.
|
List<ChronoInterval<PlainTime>> |
DayPartitionRule.getPartitions(PlainDate date)
Obtains the partitions for given date if defined.
|
boolean |
CalendarYear.isAfter(PlainDate temporal) |
boolean |
CalendarWeek.isAfter(PlainDate temporal) |
boolean |
CalendarQuarter.isAfter(PlainDate temporal) |
boolean |
CalendarMonth.isAfter(PlainDate temporal) |
boolean |
CalendarYear.isBefore(PlainDate temporal) |
boolean |
CalendarWeek.isBefore(PlainDate temporal) |
boolean |
CalendarQuarter.isBefore(PlainDate temporal) |
boolean |
CalendarMonth.isBefore(PlainDate temporal) |
default boolean |
HolidayModel.isBusinessDay(PlainDate date)
Queries if given date is a business day.
|
default boolean |
DayPartitionRule.isExcluded(PlainDate date)
Determines if given date is excluded from creating day partitions.
|
static 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> |
IsoRecurrence.of(int count,
PlainDate start,
PlainDate end)
Creates a recurrent sequence of date intervals having the duration
of first interval in years, months and days.
|
TimestampInterval |
ClockInterval.on(PlainDate date)
Creates a timestamp interval for given calendar date based on this clock interval.
|
static DateInterval |
DateInterval.since(PlainDate start)
Creates an infinite interval since given start date.
|
static Stream<PlainDate> |
DateInterval.stream(Duration<CalendarUnit> duration,
PlainDate start,
PlainDate end)
Obtains a stream iterating over every calendar date which is the result of addition of given duration
to start until the end is reached.
|
static Stream<PlainDate> |
DateInterval.streamDaily(PlainDate start,
PlainDate end)
Obtains a stream iterating over every calendar date between given interval boundaries.
|
boolean |
HolidayModel.test(PlainDate date)
Queries if given date is a non-business day.
|
static DateInterval |
DateInterval.until(PlainDate end)
Creates an infinite interval until given end date.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
FixedCalendarInterval.abuts(ChronoInterval<PlainDate> other) |
DayPartitionBuilder |
DayPartitionBuilder.addExclusion(Collection<PlainDate> dates)
Adds multiple exclusion dates.
|
boolean |
FixedCalendarInterval.contains(ChronoInterval<PlainDate> other) |
static DateInterval |
DateInterval.from(ChronoInterval<PlainDate> interval)
Converts an arbitrary date interval to an interval of this type.
|
boolean |
FixedCalendarInterval.isBefore(ChronoInterval<PlainDate> other) |
static DateInterval |
DateInterval.parse(CharSequence text,
ChronoParser<PlainDate> parser,
BracketPolicy policy)
Interpretes given text as interval.
|
static DateInterval |
DateInterval.parse(CharSequence text,
ChronoParser<PlainDate> startFormat,
char separator,
ChronoParser<PlainDate> endFormat,
BracketPolicy policy,
ParseLog status)
Interpretes given text as interval.
|
static DateInterval |
DateInterval.parse(CharSequence text,
ChronoParser<PlainDate> startFormat,
char separator,
ChronoParser<PlainDate> endFormat,
BracketPolicy policy,
ParseLog status)
Interpretes given text as interval.
|
static DateInterval |
DateInterval.parse(String text,
ChronoParser<PlainDate> parser)
Interpretes given text as interval using a localized interval pattern.
|
static DateInterval |
DateInterval.parse(String text,
ChronoParser<PlainDate> parser,
String intervalPattern)
Interpretes given text as interval using given interval pattern.
|
Stream<PlainDate> |
DateInterval.streamExcluding(Predicate<? super PlainDate> exclusion)
Obtains a stream iterating over every calendar date of the canonical form of this interval
and applies given exclusion filter.
|
| Constructor and Description |
|---|
DayPartitionBuilder(Predicate<PlainDate> activeFilter)
Creates a new instance with given filter.
|
| Modifier and Type | Method and Description |
|---|---|
PlainDate |
GregorianTimezoneRule.getDate(int year) |
abstract PlainDate |
DaylightSavingRule.getDate(int year)
Determines the date of time switch dependent on given year.
|
Copyright © 2014–2021. All rights reserved.