Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addAlias(String, String) - Static method in class io.deephaven.time.TimeZoneAliases
-
Adds a new time zone alias.
- addCalendar(BusinessCalendar) - Static method in class io.deephaven.time.calendar.Calendars
-
Adds a calendar to the collection.
- addCalendarFromFile(File) - Static method in class io.deephaven.time.calendar.Calendars
-
Adds a calendar to the collection from a file.
- addCalendarFromFile(String) - Static method in class io.deephaven.time.calendar.Calendars
-
Adds a calendar to the collection from a file.
- atMidnight(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns an
Instantfor the prior midnight in the specified time zone. - atMidnight(LocalDate, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns an
ZonedDateTimefor the prior midnight in the specified time zone. - atMidnight(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a
ZonedDateTimefor the prior midnight in the specified time zone.
B
- BusinessCalendar - Class in io.deephaven.time.calendar
-
A business calendar, with the concept of business and non-business time.
- BusinessCalendar(String, String, ZoneId, LocalDate, LocalDate, CalendarDay<LocalTime>, Set<DayOfWeek>, Map<LocalDate, CalendarDay<Instant>>) - Constructor for class io.deephaven.time.calendar.BusinessCalendar
-
Creates a new business calendar.
- BusinessCalendar.InvalidDateException - Exception in io.deephaven.time.calendar
-
A runtime exception that is thrown when a date is invalid.
- BusinessCalendarXMLParser - Class in io.deephaven.time.calendar
-
A parser for reading business calendar XML files.
- BusinessCalendarXMLParser() - Constructor for class io.deephaven.time.calendar.BusinessCalendarXMLParser
- businessDates(String, String) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the business dates in a given range.
- businessDates(String, String) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- businessDates(String, String, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the business dates in a given range.
- businessDates(String, String, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- businessDates(Instant, Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the business dates in a given range.
- businessDates(Instant, Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- businessDates(Instant, Instant, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the business dates in a given range.
- businessDates(Instant, Instant, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- businessDates(LocalDate, LocalDate) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the business dates in a given range.
- businessDates(LocalDate, LocalDate) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- businessDates(LocalDate, LocalDate, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the business dates in a given range.
- businessDates(LocalDate, LocalDate, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- businessDates(ZonedDateTime, ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the business dates in a given range.
- businessDates(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- businessDates(ZonedDateTime, ZonedDateTime, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the business dates in a given range.
- businessDates(ZonedDateTime, ZonedDateTime, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- businessDuration() - Method in class io.deephaven.time.calendar.CalendarDay
-
Gets the length of the business day.
- businessDurationElapsed(T) - Method in class io.deephaven.time.calendar.CalendarDay
-
Amount of business time that has elapsed on the given day by the specified time.
- businessDurationRemaining(T) - Method in class io.deephaven.time.calendar.CalendarDay
-
Amount of business time that remains until the end of the day.
- businessEnd() - Method in class io.deephaven.time.calendar.CalendarDay
-
End of the business day.
- businessNanos() - Method in class io.deephaven.time.calendar.CalendarDay
-
Gets the length of the business day in nanoseconds.
- businessNanosElapsed(T) - Method in class io.deephaven.time.calendar.CalendarDay
-
Amount of business time in nanoseconds that has elapsed on the given day by the specified time.
- businessNanosRemaining(T) - Method in class io.deephaven.time.calendar.CalendarDay
-
Amount of business time in nanoseconds that remains until the end of the day.
- businessStart() - Method in class io.deephaven.time.calendar.CalendarDay
-
Start of the business day.
- businessTimeRanges() - Method in class io.deephaven.time.calendar.CalendarDay
-
Business time ranges for the day.
C
- calendar() - Static method in class io.deephaven.time.calendar.Calendars
-
Returns the default business calendar.
- calendar(String) - Static method in class io.deephaven.time.calendar.Calendars
-
Returns a business calendar.
- Calendar - Class in io.deephaven.time.calendar
-
A calendar.
- calendarDate() - Method in class io.deephaven.time.calendar.Calendar
-
The current date for the calendar.
- calendarDate() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDates(String, String) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the dates in a given range.
- calendarDates(String, String) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDates(String, String, boolean, boolean) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the dates in a given range.
- calendarDates(String, String, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDates(Instant, Instant) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the dates in a given range.
- calendarDates(Instant, Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDates(Instant, Instant, boolean, boolean) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the dates in a given range.
- calendarDates(Instant, Instant, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDates(LocalDate, LocalDate) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the dates in a given range.
- calendarDates(LocalDate, LocalDate) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDates(LocalDate, LocalDate, boolean, boolean) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the dates in a given range.
- calendarDates(LocalDate, LocalDate, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDates(ZonedDateTime, ZonedDateTime) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the dates in a given range.
- calendarDates(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDates(ZonedDateTime, ZonedDateTime, boolean, boolean) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the dates in a given range.
- calendarDates(ZonedDateTime, ZonedDateTime, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDay() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the
CalendarDayfor a date. - calendarDay() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDay(String) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the
CalendarDayfor a date. - calendarDay(String) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDay(Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the
CalendarDayfor a date. - calendarDay(Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDay(LocalDate) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the
CalendarDayfor a date. - calendarDay(LocalDate) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDay(ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the
CalendarDayfor a date. - calendarDay(ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- CalendarDay<T extends Comparable<T> & Temporal> - Class in io.deephaven.time.calendar
-
Schedule for a single calendar day.
- calendarDayOfWeek() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDayOfWeek(String) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDayOfWeek(Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDayOfWeek(LocalDate) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDayOfWeek(ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDayOfWeekValue() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDayOfWeekValue(String) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDayOfWeekValue(Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDayOfWeekValue(LocalDate) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarDayOfWeekValue(ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- calendarName() - Static method in class io.deephaven.time.calendar.Calendars
-
Returns the name of the default business calendar.
- calendarNames() - Static method in class io.deephaven.time.calendar.Calendars
-
Returns the names of all available calendars
- Calendars - Class in io.deephaven.time.calendar
-
A collection of business calendars.
- calendarsFromConfiguration() - Static method in class io.deephaven.time.calendar.Calendars
-
Loads the line-separated calendar XML resources from the resource file configuration value "Calendar.importPath".
- CalendarsFromConfigurationModule - Interface in io.deephaven.time.calendar
-
Provides the
business calendarsfromCalendars.calendarsFromConfiguration(). - calendarTimeZone() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- contains(T) - Method in class io.deephaven.time.calendar.TimeRange
-
Determines if the specified time is within the time range.
- convertExpression(String) - Static method in class io.deephaven.time.TimeLiteralReplacedExpression
-
Converts a query expression to a
TimeLiteralReplacedExpression, where the time, period, and datetime literals are replaced by instance variables. - currentClock() - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the clock used to compute the current time.
D
- DATEONLY - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Date only format.
- DATEONLYTZ - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Date only format with the time zone.
- DateTimeFormatter - Class in io.deephaven.time
-
String formatter for
InstantandZonedDateTime. - DateTimeFormatter(boolean, boolean, boolean, int, boolean) - Constructor for class io.deephaven.time.DateTimeFormatter
-
Creates a new date time formatter.
- DateTimeFormatter(String) - Constructor for class io.deephaven.time.DateTimeFormatter
-
Creates a new date time formatter using the default time zone.
- DateTimeFormatters - Enum Class in io.deephaven.time
-
Common date time formatters.
- DateTimeUtils - Class in io.deephaven.time
-
Functions for working with time.
- DateTimeUtils() - Constructor for class io.deephaven.time.DateTimeUtils
- DateTimeUtils.DateTimeOverflowException - Exception in io.deephaven.time
-
Exception type thrown when operations on date time values would exceed the range available by max or min long nanoseconds.
- DateTimeUtils.DateTimeParseException - Exception in io.deephaven.time
-
Exception type thrown when date time string representations can not be parsed.
- DAY - Static variable in class io.deephaven.time.DateTimeUtils
-
One day in nanoseconds.
- dayOfMonth(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a 1-based int value of the day of the month for an
Instantand specified time zone. - dayOfMonth(LocalDate) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a 1-based int value of the day of the month for a
ZonedDateTimeand specified time zone. - dayOfMonth(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a 1-based int value of the day of the month for a
ZonedDateTimeand specified time zone. - dayOfWeek() - Method in class io.deephaven.time.calendar.Calendar
-
The current day of the week for the calendar.
- dayOfWeek(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the day of the week for an
Instantin the specified time zone. - dayOfWeek(LocalDate) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns athe day of the week for a
ZonedDateTimein the specified time zone. - dayOfWeek(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the day of the week for a
ZonedDateTimein the specified time zone. - dayOfWeek(String) - Method in class io.deephaven.time.calendar.Calendar
-
The current day of the week for the calendar.
- dayOfWeek(Instant) - Method in class io.deephaven.time.calendar.Calendar
-
The current day of the week for the calendar.
- dayOfWeek(LocalDate) - Method in class io.deephaven.time.calendar.Calendar
-
The current day of the week for the calendar.
- dayOfWeek(ZonedDateTime) - Method in class io.deephaven.time.calendar.Calendar
-
The current day of the week for the calendar.
- dayOfWeekValue() - Method in class io.deephaven.time.calendar.Calendar
-
Returns a 1-based int value of the day of the week for the calendar, where 1 is Monday and 7 is Sunday.
- dayOfWeekValue(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a 1-based int value of the day of the week for an
Instantin the specified time zone, with 1 being Monday and 7 being Sunday. - dayOfWeekValue(LocalDate) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a 1-based int value of the day of the week for a
ZonedDateTimein the specified time zone, with 1 being Monday and 7 being Sunday. - dayOfWeekValue(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a 1-based int value of the day of the week for a
ZonedDateTimein the specified time zone, with 1 being Monday and 7 being Sunday. - dayOfWeekValue(String) - Method in class io.deephaven.time.calendar.Calendar
-
Returns a 1-based int value of the day of the week for the calendar, where 1 is Monday and 7 is Sunday.
- dayOfWeekValue(Instant) - Method in class io.deephaven.time.calendar.Calendar
-
Returns a 1-based int value of the day of the week for the calendar, where 1 is Monday and 7 is Sunday.
- dayOfWeekValue(LocalDate) - Method in class io.deephaven.time.calendar.Calendar
-
Returns a 1-based int value of the day of the week for the calendar, where 1 is Monday and 7 is Sunday.
- dayOfWeekValue(ZonedDateTime) - Method in class io.deephaven.time.calendar.Calendar
-
Returns a 1-based int value of the day of the week for the calendar, where 1 is Monday and 7 is Sunday.
- dayOfYear(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a 1-based int value of the day of the year (Julian date) for an
Instantin the specified time zone. - dayOfYear(LocalDate) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a 1-based int value of the day of the year (Julian date) for a
ZonedDateTimein the specified time zone. - dayOfYear(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a 1-based int value of the day of the year (Julian date) for a
ZonedDateTimein the specified time zone. - DAYS_PER_NANO - Static variable in class io.deephaven.time.DateTimeUtils
-
Number of days per nanosecond.
- description() - Method in class io.deephaven.time.calendar.Calendar
-
Gets the description of the calendar.
- diffBusinessDays(Instant, Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the amount of business time in standard business days between two times.
- diffBusinessDays(Instant, Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- diffBusinessDays(ZonedDateTime, ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the amount of business time in standard business days between two times.
- diffBusinessDays(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- diffBusinessDuration(Instant, Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the amount of business time between two times.
- diffBusinessDuration(Instant, Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- diffBusinessDuration(ZonedDateTime, ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the amount of business time between two times.
- diffBusinessDuration(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- diffBusinessNanos(Instant, Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the amount of business time in nanoseconds between two times.
- diffBusinessNanos(Instant, Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- diffBusinessNanos(ZonedDateTime, ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the amount of business time in nanoseconds between two times.
- diffBusinessNanos(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- diffBusinessYears(Instant, Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of business years between
startandend. - diffBusinessYears(Instant, Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- diffBusinessYears(ZonedDateTime, ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of business years between
startandend. - diffBusinessYears(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- diffDays(Instant, Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in days between two instant values.
- diffDays(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in days between two zoned date time values.
- diffMicros(Instant, Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in microseconds between two instant values.
- diffMicros(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in microseconds between two zoned date time values.
- diffMillis(Instant, Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in milliseconds between two instant values.
- diffMillis(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in milliseconds between two zoned date time values.
- diffMinutes(Instant, Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in minutes between two instant values.
- diffMinutes(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in minutes between two zoned date time values.
- diffNanos(Instant, Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in nanoseconds between two instant values.
- diffNanos(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in nanoseconds between two zoned date time values.
- diffNonBusinessDuration(Instant, Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the amount of non-business time between two times.
- diffNonBusinessDuration(Instant, Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- diffNonBusinessDuration(ZonedDateTime, ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the amount of non-business time between two times.
- diffNonBusinessDuration(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- diffNonBusinessNanos(Instant, Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the amount of non-business time in nanoseconds between two times.
- diffNonBusinessNanos(Instant, Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- diffNonBusinessNanos(ZonedDateTime, ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the amount of non-business time in nanoseconds between two times.
- diffNonBusinessNanos(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- diffSeconds(Instant, Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in seconds between two instant values.
- diffSeconds(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in seconds between two zoned date time values.
- diffYears365(Instant, Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in years between two instant values.
- diffYears365(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in years between two zoned date time values.
- diffYearsAvg(Instant, Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in years between two instant values.
- diffYearsAvg(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the difference in years between two zoned date time values.
- duration() - Method in class io.deephaven.time.calendar.TimeRange
-
Duration of the range.
E
- end() - Method in class io.deephaven.time.calendar.TimeRange
-
End of the range.
- epochAutoToEpochNanos(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts an offset from the Epoch to a nanoseconds from the Epoch.
- epochAutoToInstant(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts an offset from the Epoch to an
Instant. - epochAutoToZonedDateTime(long, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts an offset from the Epoch to a
ZonedDateTime. - epochDays(LocalDate) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns number of days from the Epoch for a
LocalDatevalue. - epochDaysAsInt(LocalDate) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns number of days (as an
int) from the Epoch for aLocalDatevalue. - epochDaysAsIntToLocalDate(int) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts days from the Epoch (stored as
int) to aLocalDate. - epochDaysToLocalDate(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts days from the Epoch to a
LocalDate. - epochMicros(Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns microseconds from the Epoch for an
Instantvalue. - epochMicros(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns microseconds from the Epoch for a
ZonedDateTimevalue. - epochMicrosToInstant(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts microseconds from the Epoch to an
Instant. - epochMicrosToZonedDateTime(long, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts microseconds from the Epoch to a
ZonedDateTime. - epochMillis(Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns milliseconds from the Epoch for an
Instantvalue. - epochMillis(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns milliseconds from the Epoch for a
ZonedDateTimevalue. - epochMillisToInstant(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts milliseconds from the Epoch to an
Instant. - epochMillisToZonedDateTime(long, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts milliseconds from the Epoch to a
ZonedDateTime. - epochNanos(Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns nanoseconds from the Epoch for an
Instantvalue. - epochNanos(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns nanoseconds from the Epoch for a
ZonedDateTimevalue. - epochNanosToInstant(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts nanoseconds from the Epoch to an
Instant. - epochNanosToZonedDateTime(long, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts nanoseconds from the Epoch to a
ZonedDateTime. - epochSeconds(Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns seconds since from the Epoch for an
Instantvalue. - epochSeconds(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns seconds since from the Epoch for a
ZonedDateTimevalue. - epochSecondsToInstant(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts seconds from the Epoch to an
Instant. - epochSecondsToZonedDateTime(long, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts seconds from the Epoch to a
ZonedDateTime. - equals(Object) - Method in class io.deephaven.time.calendar.CalendarDay
- equals(Object) - Method in class io.deephaven.time.calendar.TimeRange
- excelToInstant(double, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts an Excel time represented as a double to an
Instant. - excelToZonedDateTime(double, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts an Excel time represented as a double to a
ZonedDateTime.
F
- firstValidDate() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the first valid date for the business calendar.
- format(Instant) - Method in class io.deephaven.time.DateTimeFormatter
-
Returns an Instant formatted as a string using the default time zone.
- format(Instant, ZoneId) - Method in class io.deephaven.time.DateTimeFormatter
-
Returns an Instant formatted as a string.
- format(ZonedDateTime) - Method in class io.deephaven.time.DateTimeFormatter
-
Returns a ZonedDateTime formatted as a string.
- formatDate(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns an
Instantformatted as a "yyyy-MM-dd" string. - formatDate(LocalDate) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a
LocalDateformatted as a "yyyy-MM-dd" string. - formatDate(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a
ZonedDateTimeformatted as a "yyyy-MM-dd" string. - formatDateTime(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns an
Instantformatted as a "yyyy-MM-ddThh:mm:ss.SSSSSSSSS TZ" string. - formatDateTime(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a
ZonedDateTimeformatted as a "yyyy-MM-ddThh:mm:ss.SSSSSSSSS TZ" string. - formatDurationNanos(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a nanosecond duration formatted as a "[-]PThhh:mm:ss.nnnnnnnnn" string.
- fractionBusinessDayComplete() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Fraction of the current business day complete.
- fractionBusinessDayComplete() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- fractionBusinessDayComplete(Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Fraction of the business day complete.
- fractionBusinessDayComplete(Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- fractionBusinessDayComplete(ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Fraction of the business day complete.
- fractionBusinessDayComplete(ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- fractionBusinessDayRemaining() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Fraction of the business day remaining.
- fractionBusinessDayRemaining() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- fractionBusinessDayRemaining(Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Fraction of the business day remaining.
- fractionBusinessDayRemaining(Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- fractionBusinessDayRemaining(ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Fraction of the business day remaining.
- fractionBusinessDayRemaining(ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- fractionStandardBusinessDay() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the ratio of the business day length and the standard business day length.
- fractionStandardBusinessDay() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- fractionStandardBusinessDay(String) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the ratio of the business day length and the standard business day length.
- fractionStandardBusinessDay(String) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- fractionStandardBusinessDay(Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the ratio of the business day length and the standard business day length.
- fractionStandardBusinessDay(Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- fractionStandardBusinessDay(LocalDate) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the ratio of the business day length and the standard business day length.
- fractionStandardBusinessDay(LocalDate) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- fractionStandardBusinessDay(ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the ratio of the business day length and the standard business day length.
- fractionStandardBusinessDay(ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- futureBusinessDate(int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Adds a specified number of business days to the current date.
- futureBusinessDate(int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- futureDate(int) - Method in class io.deephaven.time.calendar.Calendar
-
Adds a specified number of days to the current date.
- futureDate(int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- futureNonBusinessDate(int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Adds a specified number of non-business days to the current date.
- futureNonBusinessDate(int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
G
- getAllZones() - Static method in class io.deephaven.time.TimeZoneAliases
-
Gets a map of all time zone names to their respective time zones.
- getConvertedFormula() - Method in class io.deephaven.time.TimeLiteralReplacedExpression
-
Gets the formula after replacing time, period, and datetime literals with variables.
- getFormatter() - Method in enum class io.deephaven.time.DateTimeFormatters
-
Gets the formatter.
- getInstanceVariablesString() - Method in class io.deephaven.time.TimeLiteralReplacedExpression
-
An expression that declares new instance variables.
- getNewVariables() - Method in class io.deephaven.time.TimeLiteralReplacedExpression
-
Gets a map of names and types of new instance variables.
- getPattern() - Method in class io.deephaven.time.DateTimeFormatter
-
Gets the format pattern.
H
- hashCode() - Method in class io.deephaven.time.calendar.CalendarDay
- hashCode() - Method in class io.deephaven.time.calendar.TimeRange
- HOLIDAY - Static variable in class io.deephaven.time.calendar.CalendarDay
-
A holiday with no business time ranges.
- holidays() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Business day schedules for all holidays.
- holidays() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- HOUR - Static variable in class io.deephaven.time.DateTimeUtils
-
One hour in nanoseconds.
- hourOfDay(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Deprecated.
- hourOfDay(Instant, ZoneId, boolean) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of hours that have elapsed since the start of the day.
- hourOfDay(LocalTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of hours that have elapsed since the start of the day.
- hourOfDay(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Deprecated.Use
DateTimeUtils.hourOfDay(ZonedDateTime, boolean)instead. To be removed soon. - hourOfDay(ZonedDateTime, boolean) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of hours that have elapsed since the start of the day.
- HOURS_PER_NANO - Static variable in class io.deephaven.time.DateTimeUtils
-
Number of hours per nanosecond.
I
- InvalidDateException(String, Throwable) - Constructor for exception io.deephaven.time.calendar.BusinessCalendar.InvalidDateException
-
Creates a new exception.
- io.deephaven.time - package io.deephaven.time
- io.deephaven.time.calendar - package io.deephaven.time.calendar
- isAfter(Instant, Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Evaluates whether one instant value is after a second instant value.
- isAfter(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Evaluates whether one zoned date time value is after a second zoned date time value.
- isAfterOrEqual(Instant, Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Evaluates whether one instant value is after or equal to a second instant value.
- isAfterOrEqual(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Evaluates whether one zoned date time value is after or equal to a second zoned date time value.
- isBefore(Instant, Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Evaluates whether one instant value is before a second instant value.
- isBefore(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Evaluates whether one zoned date time value is before a second zoned date time value.
- isBeforeOrEqual(Instant, Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Evaluates whether one instant value is before or equal to a second instant value.
- isBeforeOrEqual(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Evaluates whether one zoned date time value is before or equal to a second zoned date time value.
- isBusinessDay() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the current day a business day? As long as the current time occurs on a business day, it is considered a business day.
- isBusinessDay() - Method in class io.deephaven.time.calendar.CalendarDay
-
Is this day a business day? A business day is a day that contains at least some business time.
- isBusinessDay() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isBusinessDay(String) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the date a business day?
- isBusinessDay(String) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isBusinessDay(DayOfWeek) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the day of the week a normal business day?
- isBusinessDay(DayOfWeek) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isBusinessDay(Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the time on a business day? As long as the time occurs on a business day, it is considered a business day.
- isBusinessDay(Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isBusinessDay(LocalDate) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the date a business day?
- isBusinessDay(LocalDate) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isBusinessDay(ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the time on a business day? As long as the time occurs on a business day, it is considered a business day.
- isBusinessDay(ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isBusinessTime() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Determines if the current time according to the Deephaven system clock is a business time.
- isBusinessTime() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isBusinessTime(Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Determines if the specified time is a business time.
- isBusinessTime(Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isBusinessTime(ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Determines if the specified time is a business time.
- isBusinessTime(ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isBusinessTime(T) - Method in class io.deephaven.time.calendar.CalendarDay
-
Determines if the specified time is a business time for the day.
- isInclusiveEnd() - Method in class io.deephaven.time.calendar.CalendarDay
-
Is the end of the business day inclusive? Equivalent to the end of the last business time range.
- isInclusiveEnd() - Method in class io.deephaven.time.calendar.TimeRange
-
Is the end time inclusive?
- isLastBusinessDayOfMonth() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the current date the last business day of the month?
- isLastBusinessDayOfMonth() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isLastBusinessDayOfMonth(String) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the date the last business day of the month?
- isLastBusinessDayOfMonth(String) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isLastBusinessDayOfMonth(Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the time on the last business day of the month? As long as the time occurs on a business day, it is considered a business day.
- isLastBusinessDayOfMonth(Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isLastBusinessDayOfMonth(ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the time on the last business day of the month? As long as the time occurs on a business day, it is considered a business day.
- isLastBusinessDayOfMonth(ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isLastBusinessDayOfWeek() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the current date the last business day of the week?
- isLastBusinessDayOfWeek() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isLastBusinessDayOfWeek(String) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the date is last business day of the week?
- isLastBusinessDayOfWeek(String) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isLastBusinessDayOfWeek(Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the time on the last business day of the week? As long as the time occurs on a business day, it is considered a business day.
- isLastBusinessDayOfWeek(Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isLastBusinessDayOfWeek(LocalDate) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the date the last business day of the week?
- isLastBusinessDayOfWeek(LocalDate) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isLastBusinessDayOfWeek(ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the time on the last business day of the week? As long as the time occurs on a business day, it is considered a business day.
- isLastBusinessDayOfWeek(ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isLastBusinessDayOfYear() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the current date the last business day of the year? As long as the current time occurs on a business day, it is considered a business day.
- isLastBusinessDayOfYear() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isLastBusinessDayOfYear(Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the time on the last business day of the year? As long as the time occurs on a business day, it is considered a business day.
- isLastBusinessDayOfYear(Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- isLastBusinessDayOfYear(ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Is the time on the last business day of the year? As long as the time occurs on a business day, it is considered a business day.
- isLastBusinessDayOfYear(ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- ISO0 - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
ISO date plus time format with a 'T" separating the date and time, 0 sub-second digits and, no time zone.
- ISO0TZ - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
ISO date plus time format with a 'T" separating the date and time, 0 sub-second digits and, the time zone.
- ISO3 - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
ISO date plus time format with a 'T" separating the date and time, 3 sub-second digits and, no time zone.
- ISO3TZ - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
ISO date plus time format with a 'T" separating the date and time, 3 sub-second digits and, the time zone.
- ISO6 - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
ISO date plus time format with a 'T" separating the date and time, 6 sub-second digits and, no time zone.
- ISO6TZ - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
ISO date plus time format with a 'T" separating the date and time, 6 sub-second digits and, the time zone.
- ISO9 - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
ISO date plus time format with a 'T" separating the date and time, 9 sub-second digits and, no time zone.
- ISO9TZ - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
ISO date plus time format with a 'T" separating the date and time, 9 sub-second digits and, the time zone.
L
- lastValidDate() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the last valid date for the business calendar.
- loadBusinessCalendar(File) - Static method in class io.deephaven.time.calendar.BusinessCalendarXMLParser
-
Loads a business calendar from an XML file.
- loadBusinessCalendar(InputStream) - Static method in class io.deephaven.time.calendar.BusinessCalendarXMLParser
-
Loads a business calendar from an XML input stream.
- loadBusinessCalendar(String) - Static method in class io.deephaven.time.calendar.BusinessCalendarXMLParser
-
Loads a business calendar from an XML file.
- loadBusinessCalendarFromResource(String) - Static method in class io.deephaven.time.calendar.BusinessCalendarXMLParser
-
Loads a business calendar from an XML resource.
- lowerBin(Instant, long) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns an
Instantvalue, which is at the starting (lower) end of a time range defined by the interval nanoseconds. - lowerBin(Instant, long, long) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns an
Instantvalue, which is at the starting (lower) end of a time range defined by the interval nanoseconds. - lowerBin(Instant, Duration) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns an
Instantvalue, which is at the starting (lower) end of a time range defined by the interval nanoseconds. - lowerBin(Instant, Duration, Duration) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns an
Instantvalue, which is at the starting (lower) end of a time range defined by the interval nanoseconds. - lowerBin(ZonedDateTime, long) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a
ZonedDateTimevalue, which is at the starting (lower) end of a time range defined by the interval nanoseconds. - lowerBin(ZonedDateTime, long, long) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a
ZonedDateTimevalue, which is at the starting (lower) end of a time range defined by the interval nanoseconds. - lowerBin(ZonedDateTime, Duration) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a
ZonedDateTimevalue, which is at the starting (lower) end of a time range defined by the interval nanoseconds. - lowerBin(ZonedDateTime, Duration, Duration) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a
ZonedDateTimevalue, which is at the starting (lower) end of a time range defined by the interval nanoseconds.
M
- MICRO - Static variable in class io.deephaven.time.DateTimeUtils
-
One microsecond in nanoseconds.
- microsOfDayToLocalTime(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts the number of microseconds from midnight to a
LocalTime - microsOfMilli(Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of microseconds that have elapsed since the top of the millisecond.
- microsOfMilli(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of microseconds that have elapsed since the top of the millisecond.
- microsOfSecond(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of microseconds that have elapsed since the top of the second.
- microsOfSecond(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of microseconds that have elapsed since the top of the second.
- microsToMillis(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts microseconds to milliseconds.
- microsToNanos(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts microseconds to nanoseconds.
- microsToSeconds(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts microseconds to seconds.
- MILLI - Static variable in class io.deephaven.time.DateTimeUtils
-
One millisecond in nanoseconds.
- millisOfDay(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Deprecated.Use
DateTimeUtils.millisOfDay(Instant, ZoneId, boolean)instead. To be removed soon. - millisOfDay(Instant, ZoneId, boolean) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of milliseconds that have elapsed since the start of the day.
- millisOfDay(LocalTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of milliseconds that have elapsed since the start of the day.
- millisOfDay(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Deprecated.Use
DateTimeUtils.millisOfDay(ZonedDateTime, boolean)instead. To be removed soon. - millisOfDay(ZonedDateTime, boolean) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of milliseconds that have elapsed since the start of the day.
- millisOfDayToLocalTime(int) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts the number of milliseconds from midnight to a
LocalTime - millisOfSecond(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of milliseconds that have elapsed since the top of the second.
- millisOfSecond(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of milliseconds that have elapsed since the top of the second.
- millisToMicros(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts milliseconds to microseconds.
- millisToNanos(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts milliseconds to nanoseconds.
- millisToSeconds(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts milliseconds to seconds.
- minus(Instant, long) - Static method in class io.deephaven.time.DateTimeUtils
-
Subtracts nanoseconds from an
Instant. - minus(Instant, Duration) - Static method in class io.deephaven.time.DateTimeUtils
-
Subtracts a time period to an
Instant. - minus(Instant, Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Subtract one instant from another and return the difference in nanoseconds.
- minus(Instant, Period) - Static method in class io.deephaven.time.DateTimeUtils
-
Subtracts a time period to an
Instant. - minus(LocalDate, Period) - Static method in class io.deephaven.time.DateTimeUtils
-
Subtracts a time period from a
LocalDate. - minus(ZonedDateTime, long) - Static method in class io.deephaven.time.DateTimeUtils
-
Subtracts nanoseconds from a
ZonedDateTime. - minus(ZonedDateTime, Duration) - Static method in class io.deephaven.time.DateTimeUtils
-
Subtracts a time period to a
ZonedDateTime. - minus(ZonedDateTime, Period) - Static method in class io.deephaven.time.DateTimeUtils
-
Subtracts a time period to a
ZonedDateTime. - minus(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Subtract one zoned date time from another and return the difference in nanoseconds.
- minusBusinessDays(String, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Subtracts a specified number of business days from an input date.
- minusBusinessDays(String, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- minusBusinessDays(Instant, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Subtracts a specified number of business days from an input time.
- minusBusinessDays(Instant, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- minusBusinessDays(LocalDate, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Subtracts a specified number of business days from an input date.
- minusBusinessDays(LocalDate, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- minusBusinessDays(ZonedDateTime, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Subtracts a specified number of business days from an input time.
- minusBusinessDays(ZonedDateTime, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- minusDays(LocalDate, long) - Static method in class io.deephaven.time.DateTimeUtils
-
Subtracts days from a
LocalDate. - minusDays(String, int) - Method in class io.deephaven.time.calendar.Calendar
-
Subtracts a specified number of days to an input date.
- minusDays(String, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- minusDays(Instant, int) - Method in class io.deephaven.time.calendar.Calendar
-
Subtracts a specified number of days to an input time.
- minusDays(Instant, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- minusDays(LocalDate, int) - Method in class io.deephaven.time.calendar.Calendar
-
Subtracts a specified number of days to an input date.
- minusDays(LocalDate, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- minusDays(ZonedDateTime, int) - Method in class io.deephaven.time.calendar.Calendar
-
Subtracts a specified number of days to an input time.
- minusDays(ZonedDateTime, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- minusNonBusinessDays(String, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Subtracts a specified number of non-business days to an input date.
- minusNonBusinessDays(String, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- minusNonBusinessDays(Instant, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Subtracts a specified number of non-business days to an input time.
- minusNonBusinessDays(Instant, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- minusNonBusinessDays(LocalDate, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Subtracts a specified number of non-business days to an input date.
- minusNonBusinessDays(LocalDate, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- minusNonBusinessDays(ZonedDateTime, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Subtracts a specified number of non-business days to an input time.
- minusNonBusinessDays(ZonedDateTime, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- MINUTE - Static variable in class io.deephaven.time.DateTimeUtils
-
One minute in nanoseconds.
- minuteOfDay(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Deprecated.Use
DateTimeUtils.minuteOfDay(Instant, ZoneId, boolean)instead. To be removed soon. - minuteOfDay(Instant, ZoneId, boolean) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of minutes that have elapsed since the start of the day.
- minuteOfDay(LocalTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of minutes that have elapsed since the start of the day.
- minuteOfDay(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Deprecated.Use
DateTimeUtils.minuteOfDay(ZonedDateTime, boolean)instead. To be removed soon. - minuteOfDay(ZonedDateTime, boolean) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of minutes that have elapsed since the start of the day.
- minuteOfHour(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of minutes that have elapsed since the top of the hour.
- minuteOfHour(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of minutes that have elapsed since the top of the hour.
- MINUTES_PER_NANO - Static variable in class io.deephaven.time.DateTimeUtils
-
Number of minutes per nanosecond.
- monthOfYear(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a 1-based int value of the month of the year (Julian date) for an
Instantin the specified time zone. - monthOfYear(LocalDate) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a 1-based int value of the month of the year (Julian date) for a
LocalDate. - monthOfYear(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a 1-based int value of the month of the year (Julian date) for a
ZonedDateTimein the specified time zone.
N
- name() - Method in class io.deephaven.time.calendar.Calendar
-
Gets the name of the calendar.
- nanos() - Method in class io.deephaven.time.calendar.TimeRange
-
Length of the range in nanoseconds.
- nanosOfDay(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Deprecated.Use
DateTimeUtils.nanosOfDay(Instant, ZoneId, boolean)instead. To be removed soon. - nanosOfDay(Instant, ZoneId, boolean) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of nanoseconds that have elapsed since the start of the day.
- nanosOfDay(LocalTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of nanoseconds that have elapsed since the start of the day.
- nanosOfDay(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Deprecated.Use
DateTimeUtils.nanosOfDay(ZonedDateTime, boolean)instead. To be removed soon. - nanosOfDay(ZonedDateTime, boolean) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of nanoseconds that have elapsed since the start of the day.
- nanosOfDayToLocalTime(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts the number of nanoseconds from midnight to a
LocalTime - nanosOfMilli(Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of nanoseconds that have elapsed since the top of the millisecond.
- nanosOfMilli(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of nanoseconds that have elapsed since the top of the millisecond.
- nanosOfSecond(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of nanoseconds that have elapsed since the top of the second.
- nanosOfSecond(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of nanoseconds that have elapsed since the top of the second.
- nanosToMicros(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts nanoseconds to microseconds.
- nanosToMillis(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts nanoseconds to milliseconds.
- nanosToSeconds(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts nanoseconds to seconds.
- NODATE0 - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Time only format with 0 sub-second digits and no time zone.
- NODATE0TZ - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Time only format with 0 sub-second digits and the time zone.
- NODATE3 - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Time only format with 3 sub-second digits and no time zone.
- NODATE3TZ - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Time only format with 3 sub-second digits and the time zone.
- NODATE6 - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Time only format with 6 sub-second digits and no time zone.
- NODATE6TZ - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Time only format with 6 sub-second digits and the time zone.
- NODATE9 - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Time only format with 9 sub-second digits and no time zone.
- NODATE9TZ - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Time only format with 9 sub-second digits and the time zone.
- nonBusinessDates(String, String) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the non-business dates in a given range.
- nonBusinessDates(String, String) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- nonBusinessDates(String, String, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the non-business dates in a given range.
- nonBusinessDates(String, String, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- nonBusinessDates(Instant, Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the non-business dates in a given range.
- nonBusinessDates(Instant, Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- nonBusinessDates(Instant, Instant, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the non-business dates in a given range.
- nonBusinessDates(Instant, Instant, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- nonBusinessDates(LocalDate, LocalDate) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the non-business dates in a given range.
- nonBusinessDates(LocalDate, LocalDate) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- nonBusinessDates(LocalDate, LocalDate, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the non-business dates in a given range.
- nonBusinessDates(LocalDate, LocalDate, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- nonBusinessDates(ZonedDateTime, ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the non-business dates in a given range.
- nonBusinessDates(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- nonBusinessDates(ZonedDateTime, ZonedDateTime, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the non-business dates in a given range.
- nonBusinessDates(ZonedDateTime, ZonedDateTime, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- NONISO0 - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Date plus time format with a space separating the date and time, 0 sub-second digits, and no time zone.
- NONISO0TZ - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Date plus time format with a space separating the date and time, 0 sub-second digits, and the time zone.
- NONISO3 - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Date plus time format with a space separating the date and time, 3 sub-second digits, and no time zone.
- NONISO3TZ - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Date plus time format with a space separating the date and time, 3 sub-second digits, and the time zone.
- NONISO6 - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Date plus time format with a space separating the date and time, 6 sub-second digits, and no time zone.
- NONISO6TZ - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Date plus time format with a space separating the date and time, 6 sub-second digits, and the time zone.
- NONISO9 - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Date plus time format with a space separating the date and time, 9 sub-second digits, and no time zone.
- NONISO9TZ - Enum constant in enum class io.deephaven.time.DateTimeFormatters
-
Date plus time format with a space separating the date and time, 9 sub-second digits, and the time zone.
- now() - Static method in class io.deephaven.time.DateTimeUtils
-
Provides the current
instantwith nanosecond resolution according to thecurrent clock. - nowMillisResolution() - Static method in class io.deephaven.time.DateTimeUtils
-
Provides the current
instantwith millisecond resolution according to thecurrent clock. - nowSystem() - Static method in class io.deephaven.time.DateTimeUtils
-
Provides the current
instantwith nanosecond resolution according to thesystem clock. - nowSystemMillisResolution() - Static method in class io.deephaven.time.DateTimeUtils
-
Provides the current
instantwith millisecond resolution according to thesystem clock. - numberBusinessDates(String, String) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of business dates in a given range.
- numberBusinessDates(String, String) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberBusinessDates(String, String, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of business dates in a given range.
- numberBusinessDates(String, String, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberBusinessDates(Instant, Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of business dates in a given range.
- numberBusinessDates(Instant, Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberBusinessDates(Instant, Instant, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of business dates in a given range.
- numberBusinessDates(Instant, Instant, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberBusinessDates(LocalDate, LocalDate) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of business dates in a given range.
- numberBusinessDates(LocalDate, LocalDate) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberBusinessDates(LocalDate, LocalDate, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of business dates in a given range.
- numberBusinessDates(LocalDate, LocalDate, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberBusinessDates(ZonedDateTime, ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of business dates in a given range.
- numberBusinessDates(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberBusinessDates(ZonedDateTime, ZonedDateTime, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of business dates in a given range.
- numberBusinessDates(ZonedDateTime, ZonedDateTime, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberCalendarDates(String, String) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the number of dates in a given range.
- numberCalendarDates(String, String) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberCalendarDates(String, String, boolean, boolean) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the number of dates in a given range.
- numberCalendarDates(String, String, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberCalendarDates(Instant, Instant) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the number of dates in a given range.
- numberCalendarDates(Instant, Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberCalendarDates(Instant, Instant, boolean, boolean) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the number of dates in a given range.
- numberCalendarDates(Instant, Instant, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberCalendarDates(LocalDate, LocalDate) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the number of dates in a given range.
- numberCalendarDates(LocalDate, LocalDate) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberCalendarDates(LocalDate, LocalDate, boolean, boolean) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the number of dates in a given range.
- numberCalendarDates(LocalDate, LocalDate, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberCalendarDates(ZonedDateTime, ZonedDateTime) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the number of dates in a given range.
- numberCalendarDates(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberCalendarDates(ZonedDateTime, ZonedDateTime, boolean, boolean) - Method in class io.deephaven.time.calendar.Calendar
-
Returns the number of dates in a given range.
- numberCalendarDates(ZonedDateTime, ZonedDateTime, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberNonBusinessDates(String, String) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of non-business dates in a given range.
- numberNonBusinessDates(String, String) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberNonBusinessDates(String, String, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of non-business dates in a given range.
- numberNonBusinessDates(String, String, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberNonBusinessDates(Instant, Instant) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of non-business dates in a given range.
- numberNonBusinessDates(Instant, Instant) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberNonBusinessDates(Instant, Instant, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of non-business dates in a given range.
- numberNonBusinessDates(Instant, Instant, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberNonBusinessDates(LocalDate, LocalDate) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of non-business dates in a given range.
- numberNonBusinessDates(LocalDate, LocalDate) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberNonBusinessDates(LocalDate, LocalDate, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of non-business dates in a given range.
- numberNonBusinessDates(LocalDate, LocalDate, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberNonBusinessDates(ZonedDateTime, ZonedDateTime) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of non-business dates in a given range.
- numberNonBusinessDates(ZonedDateTime, ZonedDateTime) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- numberNonBusinessDates(ZonedDateTime, ZonedDateTime, boolean, boolean) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the number of non-business dates in a given range.
- numberNonBusinessDates(ZonedDateTime, ZonedDateTime, boolean, boolean) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
P
- parseDuration(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as a duration, which is a unit of time in terms of clock time (24-hour days, hours, minutes, seconds, and nanoseconds).
- parseDurationNanos(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as a time duration in nanoseconds.
- parseDurationNanosQuiet(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as a time duration in nanoseconds.
- parseDurationQuiet(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as a duration, which is a unit of time in terms of clock time (24-hour days, hours, minutes, seconds, and nanoseconds).
- parseEpochNanos(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as nanoseconds since the Epoch.
- parseEpochNanosQuiet(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as a nanoseconds since the Epoch.
- parseInstant(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as an
Instant. - parseInstantQuiet(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as an
Instant. - parseLocalDate(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as a local date, which is a date without a time or time zone.
- parseLocalDateQuiet(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as a local date, which is a date without a time or time zone.
- parseLocalTime(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as a local time, which is the time that would be read from a clock and does not have a date or timezone.
- parseLocalTimeQuiet(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as a local time, which is the time that would be read from a clock and does not have a date or timezone.
- parsePeriod(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as a period, which is a unit of time in terms of calendar time (days, weeks, months, years, etc.).
- parsePeriodQuiet(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as a period, which is a unit of time in terms of calendar time (days, weeks, months, years, etc.).
- parseTimePrecision(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a
ChronoFieldindicating the level of precision in a time, datetime, or period nanos string. - parseTimePrecisionQuiet(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a
ChronoFieldindicating the level of precision in a time or datetime string. - parseTimeZone(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as a time zone.
- parseTimeZoneQuiet(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as a time zone.
- parseZonedDateTime(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as a
ZonedDateTime. - parseZonedDateTimeQuiet(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Parses the string argument as a
ZonedDateTime. - pastBusinessDate(int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Subtracts a specified number of business days from the current date.
- pastBusinessDate(int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- pastDate(int) - Method in class io.deephaven.time.calendar.Calendar
-
Subtracts a specified number of days from the current date.
- pastDate(int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- pastNonBusinessDate(int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Subtracts a specified number of non-business days to the current date.
- pastNonBusinessDate(int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- plus(Instant, long) - Static method in class io.deephaven.time.DateTimeUtils
-
Adds nanoseconds to an
Instant. - plus(Instant, Duration) - Static method in class io.deephaven.time.DateTimeUtils
-
Adds a time period to an
Instant. - plus(Instant, Period) - Static method in class io.deephaven.time.DateTimeUtils
-
Adds a time period to an
Instant. - plus(LocalDate, Period) - Static method in class io.deephaven.time.DateTimeUtils
-
Adds a time period to a
LocalDate. - plus(ZonedDateTime, long) - Static method in class io.deephaven.time.DateTimeUtils
-
Adds nanoseconds to a
ZonedDateTime. - plus(ZonedDateTime, Duration) - Static method in class io.deephaven.time.DateTimeUtils
-
Adds a time period to a
ZonedDateTime. - plus(ZonedDateTime, Period) - Static method in class io.deephaven.time.DateTimeUtils
-
Adds a time period to a
ZonedDateTime. - plusBusinessDays(String, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Adds a specified number of business days to an input date.
- plusBusinessDays(String, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- plusBusinessDays(Instant, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Adds a specified number of business days to an input time.
- plusBusinessDays(Instant, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- plusBusinessDays(LocalDate, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Adds a specified number of business days to an input date.
- plusBusinessDays(LocalDate, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- plusBusinessDays(ZonedDateTime, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Adds a specified number of business days to an input time.
- plusBusinessDays(ZonedDateTime, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- plusDays(LocalDate, long) - Static method in class io.deephaven.time.DateTimeUtils
-
Adds days to a
LocalDate. - plusDays(String, int) - Method in class io.deephaven.time.calendar.Calendar
-
Adds a specified number of days to an input date.
- plusDays(String, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- plusDays(Instant, int) - Method in class io.deephaven.time.calendar.Calendar
-
Adds a specified number of days to an input time.
- plusDays(Instant, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- plusDays(LocalDate, int) - Method in class io.deephaven.time.calendar.Calendar
-
Adds a specified number of days to an input date.
- plusDays(LocalDate, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- plusDays(ZonedDateTime, int) - Method in class io.deephaven.time.calendar.Calendar
-
Adds a specified number of days to an input time.
- plusDays(ZonedDateTime, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- plusNonBusinessDays(String, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Adds a specified number of non-business days to an input date.
- plusNonBusinessDays(String, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- plusNonBusinessDays(Instant, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Adds a specified number of non-business days to an input time.
- plusNonBusinessDays(Instant, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- plusNonBusinessDays(LocalDate, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Adds a specified number of non-business days to an input date.
- plusNonBusinessDays(LocalDate, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- plusNonBusinessDays(ZonedDateTime, int) - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Adds a specified number of non-business days to an input time.
- plusNonBusinessDays(ZonedDateTime, int) - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- providesCalendarsFromConfiguration() - Static method in interface io.deephaven.time.calendar.CalendarsFromConfigurationModule
R
- removeCalendar(String) - Static method in class io.deephaven.time.calendar.Calendars
-
Removes a calendar from the collection.
- rmAlias(String) - Static method in class io.deephaven.time.TimeZoneAliases
-
Removes a time zone alias.
S
- SECOND - Static variable in class io.deephaven.time.DateTimeUtils
-
One second in nanoseconds.
- secondOfDay(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Deprecated.Use
DateTimeUtils.secondOfDay(Instant, ZoneId, boolean)instead. To be removed soon. - secondOfDay(Instant, ZoneId, boolean) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of seconds that have elapsed since the start of the day.
- secondOfDay(LocalTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of seconds that have elapsed since the start of the day.
- secondOfDay(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Deprecated.Use
DateTimeUtils.secondOfDay(ZonedDateTime, boolean)instead. To be removed soon. - secondOfDay(ZonedDateTime, boolean) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of seconds that have elapsed since the start of the day.
- secondOfMinute(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of seconds that have elapsed since the top of the minute.
- secondOfMinute(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the number of seconds that have elapsed since the top of the minute.
- SECONDS_PER_NANO - Static variable in class io.deephaven.time.DateTimeUtils
-
Number of seconds per nanosecond.
- secondsToMicros(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts seconds to microseconds.
- secondsToMillis(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts seconds to milliseconds.
- secondsToNanos(long) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts seconds to nanoseconds.
- setCalendar(String) - Static method in class io.deephaven.time.calendar.Calendars
-
Sets the default calendar by name.
- setClock(Clock) - Static method in class io.deephaven.time.DateTimeUtils
-
Set the clock used to compute the current time.
- standardBusinessDay() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Business day schedule for a standard business day.
- standardBusinessDay() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- standardBusinessDuration() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Length of a standard business day.
- standardBusinessDuration() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- standardBusinessNanos() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Length of a standard business day in nanoseconds.
- standardBusinessNanos() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
- start() - Method in class io.deephaven.time.calendar.TimeRange
-
Start of the range.
- StaticCalendarMethods - Class in io.deephaven.time.calendar
-
Static versions of business calendar methods that use the default business calendar.
- StaticCalendarMethods() - Constructor for class io.deephaven.time.calendar.StaticCalendarMethods
T
- TimeLiteralReplacedExpression - Class in io.deephaven.time
-
TimeLiteralReplacedExpression is a query expression with time, period, and datetime literals replaced by instance variables.
- TimeRange<T extends Comparable<T> & Temporal> - Class in io.deephaven.time.calendar
-
A range of time.
- timeZone() - Method in class io.deephaven.time.calendar.Calendar
-
Gets the timezone of the calendar.
- timeZone() - Static method in class io.deephaven.time.DateTimeUtils
-
Gets the
system default time zone. - timeZone(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Gets the time zone for a time zone name.
- timeZoneAliasAdd(String, String) - Static method in class io.deephaven.time.DateTimeUtils
-
Adds a new time zone alias.
- TimeZoneAliases - Class in io.deephaven.time
-
TimeZoneAliases provides a service to look up time zones based on alias names and to format time zones to their aliased names.
- TimeZoneAliases() - Constructor for class io.deephaven.time.TimeZoneAliases
- timeZoneAliasRm(String) - Static method in class io.deephaven.time.DateTimeUtils
-
Removes a time zone alias.
- toDate(Instant) - Static method in class io.deephaven.time.DateTimeUtils
-
Deprecated.
- toDate(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Deprecated.
- today() - Static method in class io.deephaven.time.DateTimeUtils
-
Provides the current date string according to the
current clockand thedefault time zone. - today(ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Provides the current date string according to the
current clock. - todayLocalDate() - Static method in class io.deephaven.time.DateTimeUtils
-
Provides the current date according to the
current clockand thedefault time zone. - todayLocalDate(ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Provides the current date according to the
current clock. - toExcelTime(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts an
Instantto an Excel time represented as a double. - toExcelTime(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts a
ZonedDateTimeto an Excel time represented as a double. - toInstant(LocalDate, LocalTime, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
- toInstant(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts a
ZonedDateTimeto anInstant. - toInstant(Date) - Static method in class io.deephaven.time.DateTimeUtils
-
Deprecated.
- toInstant(CalendarDay<LocalTime>, LocalDate, ZoneId) - Static method in class io.deephaven.time.calendar.CalendarDay
-
Converts a business schedule in local time to a specific date and time zone.
- toInstant(TimeRange<LocalTime>, LocalDate, ZoneId) - Static method in class io.deephaven.time.calendar.TimeRange
-
Converts a time range in local time to a specific date and time zone.
- toLocalDate(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
- toLocalDate(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Get the
LocalDateportion of aZonedDateTime. - toLocalTime(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
- toLocalTime(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Get the
LocalTimeportion of aZonedDateTime. - toString() - Method in class io.deephaven.time.calendar.Calendar
- toString() - Method in class io.deephaven.time.calendar.CalendarDay
- toString() - Method in class io.deephaven.time.calendar.TimeRange
- toString() - Method in class io.deephaven.time.DateTimeFormatter
- toString() - Method in enum class io.deephaven.time.DateTimeFormatters
- toZonedDateTime(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Converts an
Instantto aZonedDateTime. - toZonedDateTime(LocalDate, LocalTime, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
U
- upperBin(Instant, long) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns an
Instantvalue, which is at the ending (upper) end of a time range defined by the interval nanoseconds. - upperBin(Instant, long, long) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns an
Instantvalue, which is at the ending (upper) end of a time range defined by the interval nanoseconds. - upperBin(Instant, Duration) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns an
Instantvalue, which is at the ending (upper) end of a time range defined by the interval nanoseconds. - upperBin(Instant, Duration, Duration) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns an
Instantvalue, which is at the ending (upper) end of a time range defined by the interval nanoseconds. - upperBin(ZonedDateTime, long) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a
ZonedDateTimevalue, which is at the ending (upper) end of a time range defined by the interval nanoseconds. - upperBin(ZonedDateTime, long, long) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a
ZonedDateTimevalue, which is at the ending (upper) end of a time range defined by the interval nanoseconds. - upperBin(ZonedDateTime, Duration) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a
ZonedDateTimevalue, which is at the ending (upper) end of a time range defined by the interval nanoseconds. - upperBin(ZonedDateTime, Duration, Duration) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns a
ZonedDateTimevalue, which is at the ending (upper) end of a time range defined by the interval nanoseconds.
V
- valueOf(String) - Static method in enum class io.deephaven.time.DateTimeFormatters
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.deephaven.time.DateTimeFormatters
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WEEK - Static variable in class io.deephaven.time.DateTimeUtils
-
One week in nanoseconds.
- weekendDays() - Method in class io.deephaven.time.calendar.BusinessCalendar
-
Returns the days that make up a weekend.
- weekendDays() - Static method in class io.deephaven.time.calendar.StaticCalendarMethods
Y
- year(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the year for an
Instantin the specified time zone. - year(LocalDate) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the year for a
LocalDate. - year(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the year for a
ZonedDateTimein the specified time zone. - YEAR_365 - Static variable in class io.deephaven.time.DateTimeUtils
-
One 365 day year in nanoseconds.
- YEAR_AVG - Static variable in class io.deephaven.time.DateTimeUtils
-
One average year in nanoseconds.
- yearOfCentury(Instant, ZoneId) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the year of the century (two-digit year) for an
Instantin the specified time zone. - yearOfCentury(LocalDate) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the year of the century (two-digit year) for a
LocalDatein the specified time zone. - yearOfCentury(ZonedDateTime) - Static method in class io.deephaven.time.DateTimeUtils
-
Returns the year of the century (two-digit year) for a
ZonedDateTimein the specified time zone. - YEARS_PER_NANO_365 - Static variable in class io.deephaven.time.DateTimeUtils
-
Number of 365 day years per nanosecond.
- YEARS_PER_NANO_AVG - Static variable in class io.deephaven.time.DateTimeUtils
-
Number of average (365.2425 day) years per nanosecond.
Z
- ZERO_LENGTH_INSTANT_ARRAY - Static variable in class io.deephaven.time.DateTimeUtils
-
A zero length array of
instants. - zoneId(String) - Static method in class io.deephaven.time.TimeZoneAliases
-
Gets the time zone id for a time zone name.
- zoneName(ZoneId) - Static method in class io.deephaven.time.TimeZoneAliases
-
Gets the name for a time zone.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
DateTimeUtils.hourOfDay(Instant, ZoneId, boolean)instead. To be removed soon.