Uses of Class
net.time4j.engine.CalendarDays
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate
, PlainTime
, PlainTimestamp
and Moment
.Defines the common generic schemes and interfaces of chronological
systems.
-
Uses of CalendarDays in net.time4j
Modifier and TypeMethodDescriptionGeneralTimestamp.minus(CalendarDays days)
Subtracts given count of days from this general timestamp and return the result.GeneralTimestamp.plus(CalendarDays days)
Adds given count of days to this general timestamp and return the result. -
Uses of CalendarDays in net.time4j.engine
Modifier and TypeFieldDescriptionstatic CalendarDays
CalendarDays.ONE
Represents exactly one calendar day.static CalendarDays
CalendarDays.ZERO
Represents zero calendar days.Modifier and TypeMethodDescriptionCalendarDays.abs()
Yields the absolute value of the represented calendar days.static CalendarDays
CalendarDays.between(CalendarDate start, CalendarDate end)
Calculates the delta of calendar days between given calendar dates.CalendarDays.inverse()
Negates this duration if not zero.CalendarDays.minus(CalendarDays other)
Yields the delta of the represented calendar days of this instance and given argument.static CalendarDays
CalendarDays.of(long days)
Wraps given count of calendar days.CalendarDays.plus(CalendarDays other)
Yields the sum of the represented calendar days of this instance and given argument.Modifier and TypeMethodDescriptionint
CalendarDays.compareTo(CalendarDays other)
CalendarDays.minus(CalendarDays other)
Yields the delta of the represented calendar days of this instance and given argument.CalendarVariant.minus(CalendarDays days)
Subtracts given calendar days from this instance.Calendrical.minus(CalendarDays days)
Subtracts given calendar days from this instance.CalendarDays.plus(CalendarDays other)
Yields the sum of the represented calendar days of this instance and given argument.CalendarVariant.plus(CalendarDays days)
Adds given calendar days to this instance.Calendrical.plus(CalendarDays days)
Adds given calendar days to this instance.