---
title: Time functions
sidebar_label: Time
---

Date and time utilities from [`io.deephaven.time.DateTimeUtils`](/core/javadoc/io/deephaven/time/DateTimeUtils.html) including parsing, formatting, arithmetic, and time zones.

| Type     | Name                         | Signature                                                                                                                                                                                                                                    | Description                                                                                          |
| -------- | ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| CLASS    | DateTimeUtils                | [None](/core/javadoc/io/deephaven/time/DateTimeUtils.html)                                                                                                                                                                                   | Functions for working with time.                                                                     |
| CLASS    | Duration                     | [None](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html)                                                                                                                                                 | A time-based amount of time, such as '34.5 seconds'. This class models a quantity or amount of...    |
| CLASS    | Instant                      | [None](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Instant.html)                                                                                                                                                  | An instantaneous point on the time-line. This class models a single instantaneous point on the...    |
| CLASS    | LocalDate                    | [None](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/LocalDate.html)                                                                                                                                                | A date without a time-zone in the ISO-8601 calendar system, such as 2007-12-03. LocalDate is a...    |
| CLASS    | LocalTime                    | [None](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/LocalTime.html)                                                                                                                                                | A time without a time-zone in the ISO-8601 calendar system, such as 10:15:30. LocalTime is an ...    |
| CLASS    | Period                       | [None](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Period.html)                                                                                                                                                   | A date-based amount of time in the ISO-8601 calendar system, such as '2 years, 3 months and 4 da...  |
| CLASS    | ZonedDateTime                | [None](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/ZonedDateTime.html)                                                                                                                                            | A date-time with a time-zone in the ISO-8601 calendar system, such as 2007-12-03T10:15:30+01:00 ...  |
| CONSTANT | DAY                          | [long](/core/javadoc/io/deephaven/time/DateTimeUtils.html#DAY)                                                                                                                                                                               | One day in nanoseconds. This is one hour of wall time and does not take into account calendar adj... |
| CONSTANT | DAYS_PER_NANO                | [double](/core/javadoc/io/deephaven/time/DateTimeUtils.html#DAYS_PER_NANO)                                                                                                                                                                   | Number of days per nanosecond.                                                                       |
| CONSTANT | HOUR                         | [long](/core/javadoc/io/deephaven/time/DateTimeUtils.html#HOUR)                                                                                                                                                                              | One hour in nanoseconds.                                                                             |
| CONSTANT | HOURS_PER_NANO               | [double](/core/javadoc/io/deephaven/time/DateTimeUtils.html#HOURS_PER_NANO)                                                                                                                                                                  | Number of hours per nanosecond.                                                                      |
| CONSTANT | MICRO                        | [long](/core/javadoc/io/deephaven/time/DateTimeUtils.html#MICRO)                                                                                                                                                                             | One microsecond in nanoseconds.                                                                      |
| CONSTANT | MILLI                        | [long](/core/javadoc/io/deephaven/time/DateTimeUtils.html#MILLI)                                                                                                                                                                             | One millisecond in nanoseconds.                                                                      |
| CONSTANT | MINUTE                       | [long](/core/javadoc/io/deephaven/time/DateTimeUtils.html#MINUTE)                                                                                                                                                                            | One minute in nanoseconds.                                                                           |
| CONSTANT | MINUTES_PER_NANO             | [double](/core/javadoc/io/deephaven/time/DateTimeUtils.html#MINUTES_PER_NANO)                                                                                                                                                                | Number of minutes per nanosecond.                                                                    |
| CONSTANT | SECOND                       | [long](/core/javadoc/io/deephaven/time/DateTimeUtils.html#SECOND)                                                                                                                                                                            | One second in nanoseconds.                                                                           |
| CONSTANT | SECONDS_PER_NANO             | [double](/core/javadoc/io/deephaven/time/DateTimeUtils.html#SECONDS_PER_NANO)                                                                                                                                                                | Number of seconds per nanosecond.                                                                    |
| CONSTANT | WEEK                         | [long](/core/javadoc/io/deephaven/time/DateTimeUtils.html#WEEK)                                                                                                                                                                              | One week in nanoseconds. This is 7 days of wall time and does not take into account calendar adju... |
| CONSTANT | YEARS_PER_NANO_365           | [double](/core/javadoc/io/deephaven/time/DateTimeUtils.html#YEARS_PER_NANO_365)                                                                                                                                                              | Number of 365 day years per nanosecond.                                                              |
| CONSTANT | YEARS_PER_NANO_AVG           | [double](/core/javadoc/io/deephaven/time/DateTimeUtils.html#YEARS_PER_NANO_AVG)                                                                                                                                                              | Number of average (365.2425 day) years per nanosecond.                                               |
| CONSTANT | YEAR_365                     | [long](/core/javadoc/io/deephaven/time/DateTimeUtils.html#YEAR_365)                                                                                                                                                                          | One 365 day year in nanoseconds. This is 365 days of wall time and does not take into account cal... |
| CONSTANT | YEAR_AVG                     | [long](/core/javadoc/io/deephaven/time/DateTimeUtils.html#YEAR_AVG)                                                                                                                                                                          | One average year in nanoseconds. This is 365.2425 days of wall time and does not take into accoun... |
| CONSTANT | ZERO_LENGTH_INSTANT_ARRAY    | [Instant\[\]](/core/javadoc/io/deephaven/time/DateTimeUtils.html#ZERO_LENGTH_INSTANT_ARRAY)                                                                                                                                                  | A zero length array of instants.                                                                     |
| FUNCTION | addCalendar                  | [void\(BusinessCalendar\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/Calendars.html#addCalendar(io.deephaven.time.calendar.BusinessCalendar))                                                                             | Adds a calendar to the collection.                                                                   |
| FUNCTION | addCalendarFromFile          | [void\(File\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/Calendars.html#addCalendarFromFile(java.io.File))                                                                                                                | Adds a calendar to the collection from a file.                                                       |
| FUNCTION | addCalendarFromFile          | [void\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/Calendars.html#addCalendarFromFile(java.lang.String))                                                                                                          | Adds a calendar to the collection from a file.                                                       |
| FUNCTION | atMidnight                   | [Instant\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#atMidnight(java.time.Instant,java.time.ZoneId))                                                                                          | Returns an Instant for the prior midnight in the specified time zone.                                |
| FUNCTION | atMidnight                   | [ZonedDateTime\(LocalDate, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#atMidnight(java.time.LocalDate,java.time.ZoneId))                                                                                | Returns a ZonedDateTime for the prior midnight in the specified time zone.                           |
| FUNCTION | atMidnight                   | [ZonedDateTime\(LocalDateTime, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#atMidnight(java.time.LocalDateTime,java.time.ZoneId))                                                                        | Returns a ZonedDateTime for the prior midnight in the specified time zone.                           |
| FUNCTION | atMidnight                   | [ZonedDateTime\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#atMidnight(java.time.ZonedDateTime))                                                                                                 | Returns a ZonedDateTime for the prior midnight in the specified time zone.                           |
| FUNCTION | businessDates                | [LocalDate\[\]\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#businessDates(java.time.Instant,java.time.Instant))                                                              | Returns the business dates in a given range.                                                         |
| FUNCTION | businessDates                | [LocalDate\[\]\(Instant, Instant, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#businessDates(java.time.Instant,java.time.Instant,boolean,boolean))                            | Returns the business dates in a given range.                                                         |
| FUNCTION | businessDates                | [LocalDate\[\]\(LocalDate, LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#businessDates(java.time.LocalDate,java.time.LocalDate))                                                      | Returns the business dates in a given range.                                                         |
| FUNCTION | businessDates                | [LocalDate\[\]\(LocalDate, LocalDate, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#businessDates(java.time.LocalDate,java.time.LocalDate,boolean,boolean))                    | Returns the business dates in a given range.                                                         |
| FUNCTION | businessDates                | [LocalDate\[\]\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#businessDates(java.time.ZonedDateTime,java.time.ZonedDateTime))                                      | Returns the business dates in a given range.                                                         |
| FUNCTION | businessDates                | [LocalDate\[\]\(ZonedDateTime, ZonedDateTime, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#businessDates(java.time.ZonedDateTime,java.time.ZonedDateTime,boolean,boolean))    | Returns the business dates in a given range.                                                         |
| FUNCTION | businessDates                | [String\[\]\(String, String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#businessDates(java.lang.String,java.lang.String))                                                                     | Returns the business dates in a given range.                                                         |
| FUNCTION | businessDates                | [String\[\]\(String, String, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#businessDates(java.lang.String,java.lang.String,boolean,boolean))                                   | Returns the business dates in a given range.                                                         |
| FUNCTION | calendar                     | [BusinessCalendar\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/Calendars.html#calendar())                                                                                                                               | Returns the default business calendar.                                                               |
| FUNCTION | calendar                     | [BusinessCalendar\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/Calendars.html#calendar(java.lang.String))                                                                                                         | Returns a business calendar.                                                                         |
| FUNCTION | calendarDate                 | [LocalDate\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDate())                                                                                                                      | The current date for the calendar.                                                                   |
| FUNCTION | calendarDates                | [LocalDate\[\]\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDates(java.time.Instant,java.time.Instant))                                                              | Returns the dates in a given range.                                                                  |
| FUNCTION | calendarDates                | [LocalDate\[\]\(Instant, Instant, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDates(java.time.Instant,java.time.Instant,boolean,boolean))                            | Returns the dates in a given range.                                                                  |
| FUNCTION | calendarDates                | [LocalDate\[\]\(LocalDate, LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDates(java.time.LocalDate,java.time.LocalDate))                                                      | Returns the dates in a given range.                                                                  |
| FUNCTION | calendarDates                | [LocalDate\[\]\(LocalDate, LocalDate, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDates(java.time.LocalDate,java.time.LocalDate,boolean,boolean))                    | Returns the dates in a given range.                                                                  |
| FUNCTION | calendarDates                | [LocalDate\[\]\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDates(java.time.ZonedDateTime,java.time.ZonedDateTime))                                      | Returns the dates in a given range.                                                                  |
| FUNCTION | calendarDates                | [LocalDate\[\]\(ZonedDateTime, ZonedDateTime, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDates(java.time.ZonedDateTime,java.time.ZonedDateTime,boolean,boolean))    | Returns the dates in a given range.                                                                  |
| FUNCTION | calendarDates                | [String\[\]\(String, String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDates(java.lang.String,java.lang.String))                                                                     | Returns the dates in a given range.                                                                  |
| FUNCTION | calendarDates                | [String\[\]\(String, String, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDates(java.lang.String,java.lang.String,boolean,boolean))                                   | Returns the dates in a given range.                                                                  |
| FUNCTION | calendarDay                  | [CalendarDay\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDay())                                                                                                                     | Returns the CalendarDay for a date.                                                                  |
| FUNCTION | calendarDay                  | [CalendarDay\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDay(java.time.Instant))                                                                                             | Returns the CalendarDay for a date.                                                                  |
| FUNCTION | calendarDay                  | [CalendarDay\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDay(java.time.LocalDate))                                                                                         | Returns the CalendarDay for a date.                                                                  |
| FUNCTION | calendarDay                  | [CalendarDay\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDay(java.lang.String))                                                                                               | Returns the CalendarDay for a date.                                                                  |
| FUNCTION | calendarDay                  | [CalendarDay\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDay(java.time.ZonedDateTime))                                                                                 | Returns the CalendarDay for a date.                                                                  |
| FUNCTION | calendarDayOfWeek            | [DayOfWeek\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDayOfWeek())                                                                                                                 | The current day of the week for the calendar.                                                        |
| FUNCTION | calendarDayOfWeek            | [DayOfWeek\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDayOfWeek(java.time.Instant))                                                                                         | The current day of the week for the calendar.                                                        |
| FUNCTION | calendarDayOfWeek            | [DayOfWeek\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDayOfWeek(java.time.LocalDate))                                                                                     | The current day of the week for the calendar.                                                        |
| FUNCTION | calendarDayOfWeek            | [DayOfWeek\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDayOfWeek(java.lang.String))                                                                                           | The current day of the week for the calendar.                                                        |
| FUNCTION | calendarDayOfWeek            | [DayOfWeek\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDayOfWeek(java.time.ZonedDateTime))                                                                             | The current day of the week for the calendar.                                                        |
| FUNCTION | calendarDayOfWeekValue       | [int\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDayOfWeekValue())                                                                                                                  | Returns a 1-based int value of the day of the week for the calendar, where 1 is Monday and 7 is S... |
| FUNCTION | calendarDayOfWeekValue       | [int\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDayOfWeekValue(java.time.Instant))                                                                                          | Returns a 1-based int value of the day of the week for the calendar, where 1 is Monday and 7 is S... |
| FUNCTION | calendarDayOfWeekValue       | [int\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDayOfWeekValue(java.time.LocalDate))                                                                                      | Returns a 1-based int value of the day of the week for the calendar, where 1 is Monday and 7 is S... |
| FUNCTION | calendarDayOfWeekValue       | [int\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDayOfWeekValue(java.lang.String))                                                                                            | Returns a 1-based int value of the day of the week for the calendar, where 1 is Monday and 7 is S... |
| FUNCTION | calendarDayOfWeekValue       | [int\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarDayOfWeekValue(java.time.ZonedDateTime))                                                                              | Returns a 1-based int value of the day of the week for the calendar, where 1 is Monday and 7 is S... |
| FUNCTION | calendarName                 | [String\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/Calendars.html#calendarName())                                                                                                                                     | Returns the name of the default business calendar.                                                   |
| FUNCTION | calendarNames                | [String\[\]\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/Calendars.html#calendarNames())                                                                                                                                | Returns the names of all available calendars.                                                        |
| FUNCTION | calendarTimeZone             | [ZoneId\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#calendarTimeZone())                                                                                                                     | Gets the timezone of the calendar.                                                                   |
| FUNCTION | calendarsFromConfiguration   | [List\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/Calendars.html#calendarsFromConfiguration())                                                                                                                         | Loads the line-separated calendar XML resources from the resource file configuration value "Cale...  |
| FUNCTION | currentClock                 | [Clock\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#currentClock())                                                                                                                                           | Returns the clock used to compute the current time. This may be the current system clock, or it m... |
| FUNCTION | dayOfMonth                   | [int\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfMonth(java.time.Instant,java.time.ZoneId))                                                                                              | Returns a 1-based int value of the day of the month for an Instant and specified time zone. The f... |
| FUNCTION | dayOfMonth                   | [int\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfMonth(java.time.LocalDate))                                                                                                                   | Returns a 1-based int value of the day of the month for a LocalDate. The first day of the month r... |
| FUNCTION | dayOfMonth                   | [int\(LocalDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfMonth(java.time.LocalDateTime))                                                                                                           | Returns a 1-based int value of the day of the month for a LocalDateTime. The first day of the mon... |
| FUNCTION | dayOfMonth                   | [int\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfMonth(java.time.ZonedDateTime))                                                                                                           | Returns a 1-based int value of the day of the month for a ZonedDateTime and specified time zone. ... |
| FUNCTION | dayOfWeek                    | [DayOfWeek\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfWeek(java.time.Instant,java.time.ZoneId))                                                                                         | Returns the day of the week for an Instant in the specified time zone.                               |
| FUNCTION | dayOfWeek                    | [DayOfWeek\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfWeek(java.time.LocalDate))                                                                                                              | Returns the day of the week for a LocalDate.                                                         |
| FUNCTION | dayOfWeek                    | [DayOfWeek\(LocalDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfWeek(java.time.LocalDateTime))                                                                                                      | Returns athe day of the week for a ZonedDateTime.                                                    |
| FUNCTION | dayOfWeek                    | [DayOfWeek\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfWeek(java.time.ZonedDateTime))                                                                                                      | Returns the day of the week for a ZonedDateTime in the specified time zone.                          |
| FUNCTION | dayOfWeekValue               | [int\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfWeekValue(java.time.Instant,java.time.ZoneId))                                                                                          | Returns a 1-based int value of the day of the week for an Instant in the specified time zone, wit... |
| FUNCTION | dayOfWeekValue               | [int\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfWeekValue(java.time.LocalDate))                                                                                                               | Returns a 1-based int value of the day of the week for a LocalDate, with 1 being Monday and 7 bei... |
| FUNCTION | dayOfWeekValue               | [int\(LocalDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfWeekValue(java.time.LocalDateTime))                                                                                                       | Returns a 1-based int value of the day of the week for a LocalDateTime, with 1 being Monday and 7... |
| FUNCTION | dayOfWeekValue               | [int\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfWeekValue(java.time.ZonedDateTime))                                                                                                       | Returns a 1-based int value of the day of the week for a ZonedDateTime in the specified time zone... |
| FUNCTION | dayOfYear                    | [int\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfYear(java.time.Instant,java.time.ZoneId))                                                                                               | Returns a 1-based int value of the day of the year (Julian date) for an Instant in the specified ... |
| FUNCTION | dayOfYear                    | [int\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfYear(java.time.LocalDate))                                                                                                                    | Returns a 1-based int value of the day of the year (Julian date) for a LocalDate. The first day o... |
| FUNCTION | dayOfYear                    | [int\(LocalDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfYear(java.time.LocalDateTime))                                                                                                            | Returns a 1-based int value of the day of the year (Julian date) for a LocalDateTime. The first d... |
| FUNCTION | dayOfYear                    | [int\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#dayOfYear(java.time.ZonedDateTime))                                                                                                            | Returns a 1-based int value of the day of the year (Julian date) for a ZonedDateTime in the speci... |
| FUNCTION | diffBusinessDays             | [double\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#diffBusinessDays(java.time.Instant,java.time.Instant))                                                                  | Returns the amount of business time in standard business days between two times.                     |
| FUNCTION | diffBusinessDays             | [double\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#diffBusinessDays(java.time.ZonedDateTime,java.time.ZonedDateTime))                                          | Returns the amount of business time in standard business days between two times.                     |
| FUNCTION | diffBusinessDuration         | [Duration\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#diffBusinessDuration(java.time.Instant,java.time.Instant))                                                            | Returns the amount of business time between two times.                                               |
| FUNCTION | diffBusinessDuration         | [Duration\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#diffBusinessDuration(java.time.ZonedDateTime,java.time.ZonedDateTime))                                    | Returns the amount of business time between two times.                                               |
| FUNCTION | diffBusinessNanos            | [long\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#diffBusinessNanos(java.time.Instant,java.time.Instant))                                                                   | Returns the amount of business time in nanoseconds between two times.                                |
| FUNCTION | diffBusinessNanos            | [long\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#diffBusinessNanos(java.time.ZonedDateTime,java.time.ZonedDateTime))                                           | Returns the amount of business time in nanoseconds between two times.                                |
| FUNCTION | diffBusinessYears            | [double\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#diffBusinessYears(java.time.Instant,java.time.Instant))                                                                 | Returns the number of business years between start and end.                                          |
| FUNCTION | diffBusinessYears            | [double\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#diffBusinessYears(java.time.ZonedDateTime,java.time.ZonedDateTime))                                         | Returns the number of business years between start and end.                                          |
| FUNCTION | diffDays                     | [double\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffDays(java.time.Instant,java.time.Instant))                                                                                           | Returns the difference in days between two instant values.                                           |
| FUNCTION | diffDays                     | [double\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffDays(java.time.ZonedDateTime,java.time.ZonedDateTime))                                                                   | Returns the difference in days between two zoned date time values.                                   |
| FUNCTION | diffMicros                   | [long\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffMicros(java.time.Instant,java.time.Instant))                                                                                           | Returns the difference in microseconds between two instant values.                                   |
| FUNCTION | diffMicros                   | [long\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffMicros(java.time.ZonedDateTime,java.time.ZonedDateTime))                                                                   | Returns the difference in microseconds between two zoned date time values.                           |
| FUNCTION | diffMillis                   | [long\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffMillis(java.time.Instant,java.time.Instant))                                                                                           | Returns the difference in milliseconds between two instant values.                                   |
| FUNCTION | diffMillis                   | [long\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffMillis(java.time.ZonedDateTime,java.time.ZonedDateTime))                                                                   | Returns the difference in milliseconds between two zoned date time values.                           |
| FUNCTION | diffMinutes                  | [double\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffMinutes(java.time.Instant,java.time.Instant))                                                                                        | Returns the difference in minutes between two instant values.                                        |
| FUNCTION | diffMinutes                  | [double\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffMinutes(java.time.ZonedDateTime,java.time.ZonedDateTime))                                                                | Returns the difference in minutes between two zoned date time values.                                |
| FUNCTION | diffNanos                    | [long\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffNanos(java.time.Instant,java.time.Instant))                                                                                            | Returns the difference in nanoseconds between two instant values.                                    |
| FUNCTION | diffNanos                    | [long\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffNanos(java.time.ZonedDateTime,java.time.ZonedDateTime))                                                                    | Returns the difference in nanoseconds between two zoned date time values.                            |
| FUNCTION | diffNonBusinessDuration      | [Duration\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#diffNonBusinessDuration(java.time.Instant,java.time.Instant))                                                         | Returns the amount of non-business time between two times.                                           |
| FUNCTION | diffNonBusinessDuration      | [Duration\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#diffNonBusinessDuration(java.time.ZonedDateTime,java.time.ZonedDateTime))                                 | Returns the amount of non-business time between two times.                                           |
| FUNCTION | diffNonBusinessNanos         | [long\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#diffNonBusinessNanos(java.time.Instant,java.time.Instant))                                                                | Returns the amount of non-business time in nanoseconds between two times.                            |
| FUNCTION | diffNonBusinessNanos         | [long\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#diffNonBusinessNanos(java.time.ZonedDateTime,java.time.ZonedDateTime))                                        | Returns the amount of non-business time in nanoseconds between two times.                            |
| FUNCTION | diffSeconds                  | [double\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffSeconds(java.time.Instant,java.time.Instant))                                                                                        | Returns the difference in seconds between two instant values.                                        |
| FUNCTION | diffSeconds                  | [double\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffSeconds(java.time.ZonedDateTime,java.time.ZonedDateTime))                                                                | Returns the difference in seconds between two zoned date time values.                                |
| FUNCTION | diffYears365                 | [double\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffYears365(java.time.Instant,java.time.Instant))                                                                                       | Returns the difference in years between two instant values. Years are defined in terms of 365 ...    |
| FUNCTION | diffYears365                 | [double\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffYears365(java.time.ZonedDateTime,java.time.ZonedDateTime))                                                               | Returns the difference in years between two zoned date time values. Years are defined in terms...    |
| FUNCTION | diffYearsAvg                 | [double\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffYearsAvg(java.time.Instant,java.time.Instant))                                                                                       | Returns the difference in years between two instant values. Years are defined in terms of 365....    |
| FUNCTION | diffYearsAvg                 | [double\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#diffYearsAvg(java.time.ZonedDateTime,java.time.ZonedDateTime))                                                               | Returns the difference in years between two zoned date time values. Years are defined in terms...    |
| FUNCTION | divide                       | [Duration\(Duration, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#divide(java.time.Duration,long))                                                                                                         | Divide a duration by a scalar.                                                                       |
| FUNCTION | epochAutoToEpochNanos        | [long\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochAutoToEpochNanos(long))                                                                                                                           | Converts an offset from the Epoch to a nanoseconds from the Epoch. The offset can be in milliseco... |
| FUNCTION | epochAutoToInstant           | [Instant\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochAutoToInstant(long))                                                                                                                           | Converts an offset from the Epoch to an Instant. The offset can be in milliseconds, microseconds,... |
| FUNCTION | epochAutoToZonedDateTime     | [ZonedDateTime\(long, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochAutoToZonedDateTime(long,java.time.ZoneId))                                                                                      | Converts an offset from the Epoch to a ZonedDateTime. The offset can be in milliseconds, microsec... |
| FUNCTION | epochDays                    | [long\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochDays(java.time.LocalDate))                                                                                                                   | Returns number of days from the Epoch for a LocalDate value.                                         |
| FUNCTION | epochDaysAsInt               | [int\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochDaysAsInt(java.time.LocalDate))                                                                                                               | Returns number of days (as an int) from the Epoch for a LocalDate value.                             |
| FUNCTION | epochDaysAsIntToLocalDate    | [LocalDate\(int\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochDaysAsIntToLocalDate(int))                                                                                                                    | Converts days from the Epoch (stored as int) to a LocalDate.                                         |
| FUNCTION | epochDaysToLocalDate         | [LocalDate\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochDaysToLocalDate(long))                                                                                                                       | Converts days from the Epoch to a LocalDate.                                                         |
| FUNCTION | epochMicros                  | [long\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochMicros(java.time.Instant))                                                                                                                     | Returns microseconds from the Epoch for an Instant value.                                            |
| FUNCTION | epochMicros                  | [long\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochMicros(java.time.ZonedDateTime))                                                                                                         | Returns microseconds from the Epoch for a ZonedDateTime value.                                       |
| FUNCTION | epochMicrosToInstant         | [Instant\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochMicrosToInstant(long))                                                                                                                         | Converts microseconds from the Epoch to an Instant.                                                  |
| FUNCTION | epochMicrosToZonedDateTime   | [ZonedDateTime\(long, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochMicrosToZonedDateTime(long,java.time.ZoneId))                                                                                    | Converts microseconds from the Epoch to a ZonedDateTime.                                             |
| FUNCTION | epochMillis                  | [long\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochMillis(java.time.Instant))                                                                                                                     | Returns milliseconds from the Epoch for an Instant value.                                            |
| FUNCTION | epochMillis                  | [long\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochMillis(java.time.ZonedDateTime))                                                                                                         | Returns milliseconds from the Epoch for a ZonedDateTime value.                                       |
| FUNCTION | epochMillisToInstant         | [Instant\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochMillisToInstant(long))                                                                                                                         | Converts milliseconds from the Epoch to an Instant.                                                  |
| FUNCTION | epochMillisToZonedDateTime   | [ZonedDateTime\(long, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochMillisToZonedDateTime(long,java.time.ZoneId))                                                                                    | Converts milliseconds from the Epoch to a ZonedDateTime.                                             |
| FUNCTION | epochNanos                   | [long\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochNanos(java.time.Instant))                                                                                                                      | Returns nanoseconds from the Epoch for an Instant value.                                             |
| FUNCTION | epochNanos                   | [long\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochNanos(java.time.ZonedDateTime))                                                                                                          | Returns nanoseconds from the Epoch for a ZonedDateTime value.                                        |
| FUNCTION | epochNanosToInstant          | [Instant\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochNanosToInstant(long))                                                                                                                          | Converts nanoseconds from the Epoch to an Instant.                                                   |
| FUNCTION | epochNanosToZonedDateTime    | [ZonedDateTime\(long, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochNanosToZonedDateTime(long,java.time.ZoneId))                                                                                     | Converts nanoseconds from the Epoch to a ZonedDateTime.                                              |
| FUNCTION | epochSeconds                 | [long\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochSeconds(java.time.Instant))                                                                                                                    | Returns seconds since from the Epoch for an Instant value.                                           |
| FUNCTION | epochSeconds                 | [long\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochSeconds(java.time.ZonedDateTime))                                                                                                        | Returns seconds since from the Epoch for a ZonedDateTime value.                                      |
| FUNCTION | epochSecondsToInstant        | [Instant\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochSecondsToInstant(long))                                                                                                                        | Converts seconds from the Epoch to an Instant.                                                       |
| FUNCTION | epochSecondsToZonedDateTime  | [ZonedDateTime\(long, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#epochSecondsToZonedDateTime(long,java.time.ZoneId))                                                                                   | Converts seconds from the Epoch to a ZonedDateTime.                                                  |
| FUNCTION | excelToInstant               | [Instant\(double, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#excelToInstant(double,java.time.ZoneId))                                                                                                  | Converts an Excel time represented as a double to an Instant.                                        |
| FUNCTION | excelToZonedDateTime         | [ZonedDateTime\(double, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#excelToZonedDateTime(double,java.time.ZoneId))                                                                                      | Converts an Excel time represented as a double to a ZonedDateTime.                                   |
| FUNCTION | formatDate                   | [String\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#formatDate(java.time.Instant,java.time.ZoneId))                                                                                           | Returns an Instant formatted as a "yyyy-MM-dd" string.                                               |
| FUNCTION | formatDate                   | [String\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#formatDate(java.time.LocalDate))                                                                                                                | Returns a LocalDate formatted as a "yyyy-MM-dd" string.                                              |
| FUNCTION | formatDate                   | [String\(LocalDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#formatDate(java.time.LocalDateTime))                                                                                                        | Returns a LocalDateTime formatted as a "yyyy-MM-dd" string.                                          |
| FUNCTION | formatDate                   | [String\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#formatDate(java.time.ZonedDateTime))                                                                                                        | Returns a ZonedDateTime formatted as a "yyyy-MM-dd" string.                                          |
| FUNCTION | formatDateTime               | [String\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#formatDateTime(java.time.Instant,java.time.ZoneId))                                                                                       | Returns an Instant formatted as a "yyyy-MM-ddThh:mm:ss.SSSSSSSSS TZ" string.                         |
| FUNCTION | formatDateTime               | [String\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#formatDateTime(java.time.ZonedDateTime))                                                                                                    | Returns a ZonedDateTime formatted as a "yyyy-MM-ddThh:mm:ss.SSSSSSSSS TZ" string.                    |
| FUNCTION | formatDurationNanos          | [String\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#formatDurationNanos(long))                                                                                                                           | Returns a nanosecond duration formatted as a "[-]PThhh:mm:ss.nnnnnnnnn" string.                      |
| FUNCTION | fractionBusinessDayComplete  | [double\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#fractionBusinessDayComplete())                                                                                                          | Fraction of the current business day complete.                                                       |
| FUNCTION | fractionBusinessDayComplete  | [double\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#fractionBusinessDayComplete(java.time.Instant))                                                                                  | Fraction of the business day complete.                                                               |
| FUNCTION | fractionBusinessDayComplete  | [double\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#fractionBusinessDayComplete(java.time.ZonedDateTime))                                                                      | Fraction of the business day complete.                                                               |
| FUNCTION | fractionBusinessDayRemaining | [double\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#fractionBusinessDayRemaining())                                                                                                         | Fraction of the business day remaining.                                                              |
| FUNCTION | fractionBusinessDayRemaining | [double\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#fractionBusinessDayRemaining(java.time.Instant))                                                                                 | Fraction of the business day remaining.                                                              |
| FUNCTION | fractionBusinessDayRemaining | [double\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#fractionBusinessDayRemaining(java.time.ZonedDateTime))                                                                     | Fraction of the business day remaining.                                                              |
| FUNCTION | fractionStandardBusinessDay  | [double\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#fractionStandardBusinessDay())                                                                                                          | Returns the ratio of the business day length and the standard business day length. For example, a... |
| FUNCTION | fractionStandardBusinessDay  | [double\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#fractionStandardBusinessDay(java.time.Instant))                                                                                  | Returns the ratio of the business day length and the standard business day length. For example, a... |
| FUNCTION | fractionStandardBusinessDay  | [double\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#fractionStandardBusinessDay(java.time.LocalDate))                                                                              | Returns the ratio of the business day length and the standard business day length. For example, a... |
| FUNCTION | fractionStandardBusinessDay  | [double\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#fractionStandardBusinessDay(java.lang.String))                                                                                    | Returns the ratio of the business day length and the standard business day length. For example, a... |
| FUNCTION | fractionStandardBusinessDay  | [double\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#fractionStandardBusinessDay(java.time.ZonedDateTime))                                                                      | Returns the ratio of the business day length and the standard business day length. For example, a... |
| FUNCTION | futureBusinessDate           | [LocalDate\(int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#futureBusinessDate(int))                                                                                                          | Adds a specified number of business days to the current date. Adding negative days is equivalent ... |
| FUNCTION | futureDate                   | [LocalDate\(int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#futureDate(int))                                                                                                                  | Adds a specified number of days to the current date. Adding negative days is equivalent to subtra... |
| FUNCTION | futureNonBusinessDate        | [LocalDate\(int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#futureNonBusinessDate(int))                                                                                                       | Adds a specified number of non-business days to the current date. Adding negative days is equival... |
| FUNCTION | holidays                     | [Map\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#holidays())                                                                                                                                | Business day schedules for all holidays. A holiday is a date that has a schedule that is differen... |
| FUNCTION | hourOfDay                    | [int\(Instant, ZoneId, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#hourOfDay(java.time.Instant,java.time.ZoneId,boolean))                                                                              | Returns the number of hours that have elapsed since the start of the day.                            |
| FUNCTION | hourOfDay                    | [int\(LocalDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#hourOfDay(java.time.LocalDateTime))                                                                                                            | Returns the number of hours that have elapsed since the start of the day.                            |
| FUNCTION | hourOfDay                    | [int\(LocalTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#hourOfDay(java.time.LocalTime))                                                                                                                    | Returns the number of hours that have elapsed since the start of the day.                            |
| FUNCTION | hourOfDay                    | [int\(ZonedDateTime, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#hourOfDay(java.time.ZonedDateTime,boolean))                                                                                           | Returns the number of hours that have elapsed since the start of the day.                            |
| FUNCTION | isAfter                      | [boolean\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#isAfter(java.time.Instant,java.time.Instant))                                                                                           | Evaluates whether one instant value is after a second instant value.                                 |
| FUNCTION | isAfter                      | [boolean\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#isAfter(java.time.ZonedDateTime,java.time.ZonedDateTime))                                                                   | Evaluates whether one zoned date time value is after a second zoned date time value.                 |
| FUNCTION | isAfterOrEqual               | [boolean\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#isAfterOrEqual(java.time.Instant,java.time.Instant))                                                                                    | Evaluates whether one instant value is after or equal to a second instant value.                     |
| FUNCTION | isAfterOrEqual               | [boolean\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#isAfterOrEqual(java.time.ZonedDateTime,java.time.ZonedDateTime))                                                            | Evaluates whether one zoned date time value is after or equal to a second zoned date time value.     |
| FUNCTION | isBefore                     | [boolean\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#isBefore(java.time.Instant,java.time.Instant))                                                                                          | Evaluates whether one instant value is before a second instant value.                                |
| FUNCTION | isBefore                     | [boolean\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#isBefore(java.time.ZonedDateTime,java.time.ZonedDateTime))                                                                  | Evaluates whether one zoned date time value is before a second zoned date time value.                |
| FUNCTION | isBeforeOrEqual              | [boolean\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#isBeforeOrEqual(java.time.Instant,java.time.Instant))                                                                                   | Evaluates whether one instant value is before or equal to a second instant value.                    |
| FUNCTION | isBeforeOrEqual              | [boolean\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#isBeforeOrEqual(java.time.ZonedDateTime,java.time.ZonedDateTime))                                                           | Evaluates whether one zoned date time value is before or equal to a second zoned date time value.    |
| FUNCTION | isBusinessDay                | [boolean\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isBusinessDay())                                                                                                                       | Is the current day a business day? As long as the current time occurs on a business day, it is co... |
| FUNCTION | isBusinessDay                | [boolean\(DayOfWeek\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isBusinessDay(java.time.DayOfWeek))                                                                                           | Is the day of the week a normal business day?.                                                       |
| FUNCTION | isBusinessDay                | [boolean\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isBusinessDay(java.time.Instant))                                                                                               | Is the time on a business day? As long as the time occurs on a business day, it is considered ...    |
| FUNCTION | isBusinessDay                | [boolean\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isBusinessDay(java.time.LocalDate))                                                                                           | Is the date a business day?.                                                                         |
| FUNCTION | isBusinessDay                | [boolean\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isBusinessDay(java.lang.String))                                                                                                 | Is the date a business day?.                                                                         |
| FUNCTION | isBusinessDay                | [boolean\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isBusinessDay(java.time.ZonedDateTime))                                                                                   | Is the time on a business day? As long as the time occurs on a business day, it is considered ...    |
| FUNCTION | isBusinessTime               | [boolean\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isBusinessTime())                                                                                                                      | Determines if the current time according to the Deephaven system clock is a business time. Busine... |
| FUNCTION | isBusinessTime               | [boolean\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isBusinessTime(java.time.Instant))                                                                                              | Determines if the specified time is a business time. Business times fall within business time ran... |
| FUNCTION | isBusinessTime               | [boolean\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isBusinessTime(java.time.ZonedDateTime))                                                                                  | Determines if the specified time is a business time. Business times fall within business time ran... |
| FUNCTION | isLastBusinessDayOfMonth     | [boolean\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isLastBusinessDayOfMonth())                                                                                                            | Is the current date the last business day of the month?.                                             |
| FUNCTION | isLastBusinessDayOfMonth     | [boolean\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isLastBusinessDayOfMonth(java.time.Instant))                                                                                    | Is the time on the last business day of the month? As long as the time occurs on a business da...    |
| FUNCTION | isLastBusinessDayOfMonth     | [boolean\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isLastBusinessDayOfMonth(java.lang.String))                                                                                      | Is the date the last business day of the month?.                                                     |
| FUNCTION | isLastBusinessDayOfMonth     | [boolean\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isLastBusinessDayOfMonth(java.time.ZonedDateTime))                                                                        | Is the time on the last business day of the month? As long as the time occurs on a business da...    |
| FUNCTION | isLastBusinessDayOfWeek      | [boolean\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isLastBusinessDayOfWeek())                                                                                                             | Is the current date the last business day of the week?.                                              |
| FUNCTION | isLastBusinessDayOfWeek      | [boolean\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isLastBusinessDayOfWeek(java.time.Instant))                                                                                     | Is the time on the last business day of the week? As long as the time occurs on a business day...    |
| FUNCTION | isLastBusinessDayOfWeek      | [boolean\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isLastBusinessDayOfWeek(java.time.LocalDate))                                                                                 | Is the date the last business day of the week?.                                                      |
| FUNCTION | isLastBusinessDayOfWeek      | [boolean\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isLastBusinessDayOfWeek(java.lang.String))                                                                                       | Is the date is last business day of the week?.                                                       |
| FUNCTION | isLastBusinessDayOfWeek      | [boolean\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isLastBusinessDayOfWeek(java.time.ZonedDateTime))                                                                         | Is the time on the last business day of the week? As long as the time occurs on a business day...    |
| FUNCTION | isLastBusinessDayOfYear      | [boolean\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isLastBusinessDayOfYear())                                                                                                             | Is the current date the last business day of the year? As long as the current time occurs on a...    |
| FUNCTION | isLastBusinessDayOfYear      | [boolean\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isLastBusinessDayOfYear(java.time.Instant))                                                                                     | Is the time on the last business day of the year? As long as the time occurs on a business day...    |
| FUNCTION | isLastBusinessDayOfYear      | [boolean\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#isLastBusinessDayOfYear(java.time.ZonedDateTime))                                                                         | Is the time on the last business day of the year? As long as the time occurs on a business day...    |
| FUNCTION | lowerBin                     | [Instant\(Instant, Duration\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#lowerBin(java.time.Instant,java.time.Duration))                                                                                        | Returns an Instant value, which is at the starting (lower) end of a time range defined by the int... |
| FUNCTION | lowerBin                     | [Instant\(Instant, Duration, Duration\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#lowerBin(java.time.Instant,java.time.Duration,java.time.Duration))                                                           | Returns an Instant value, which is at the starting (lower) end of a time range defined by the int... |
| FUNCTION | lowerBin                     | [Instant\(Instant, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#lowerBin(java.time.Instant,long))                                                                                                          | Returns an Instant value, which is at the starting (lower) end of a time range defined by the int... |
| FUNCTION | lowerBin                     | [Instant\(Instant, long, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#lowerBin(java.time.Instant,long,long))                                                                                               | Returns an Instant value, which is at the starting (lower) end of a time range defined by the int... |
| FUNCTION | lowerBin                     | [ZonedDateTime\(ZonedDateTime, Duration\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#lowerBin(java.time.ZonedDateTime,java.time.Duration))                                                                      | Returns a ZonedDateTime value, which is at the starting (lower) end of a time range defined by th... |
| FUNCTION | lowerBin                     | [ZonedDateTime\(ZonedDateTime, Duration, Duration\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#lowerBin(java.time.ZonedDateTime,java.time.Duration,java.time.Duration))                                         | Returns a ZonedDateTime value, which is at the starting (lower) end of a time range defined by th... |
| FUNCTION | lowerBin                     | [ZonedDateTime\(ZonedDateTime, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#lowerBin(java.time.ZonedDateTime,long))                                                                                        | Returns a ZonedDateTime value, which is at the starting (lower) end of a time range defined by th... |
| FUNCTION | lowerBin                     | [ZonedDateTime\(ZonedDateTime, long, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#lowerBin(java.time.ZonedDateTime,long,long))                                                                             | Returns a ZonedDateTime value, which is at the starting (lower) end of a time range defined by th... |
| FUNCTION | microsOfDayToLocalTime       | [LocalTime\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#microsOfDayToLocalTime(long))                                                                                                                     | Converts the number of microseconds from midnight to a LocalTime.                                    |
| FUNCTION | microsOfMilli                | [int\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#microsOfMilli(java.time.Instant))                                                                                                                    | Returns the number of microseconds that have elapsed since the top of the millisecond. Nanosecond... |
| FUNCTION | microsOfMilli                | [int\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#microsOfMilli(java.time.ZonedDateTime))                                                                                                        | Returns the number of microseconds that have elapsed since the top of the millisecond. Nanosecond... |
| FUNCTION | microsOfSecond               | [long\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#microsOfSecond(java.time.Instant,java.time.ZoneId))                                                                                         | Returns the number of microseconds that have elapsed since the top of the second.                    |
| FUNCTION | microsOfSecond               | [long\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#microsOfSecond(java.time.ZonedDateTime))                                                                                                      | Returns the number of microseconds that have elapsed since the top of the second.                    |
| FUNCTION | microsToMillis               | [long\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#microsToMillis(long))                                                                                                                                  | Converts microseconds to milliseconds.                                                               |
| FUNCTION | microsToNanos                | [long\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#microsToNanos(long))                                                                                                                                   | Converts microseconds to nanoseconds.                                                                |
| FUNCTION | microsToSeconds              | [long\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#microsToSeconds(long))                                                                                                                                 | Converts microseconds to seconds.                                                                    |
| FUNCTION | millisOfDay                  | [int\(Instant, ZoneId, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#millisOfDay(java.time.Instant,java.time.ZoneId,boolean))                                                                            | Returns the number of milliseconds that have elapsed since the start of the day.                     |
| FUNCTION | millisOfDay                  | [int\(LocalDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#millisOfDay(java.time.LocalDateTime))                                                                                                          | Returns the number of milliseconds that have elapsed since the start of the day.                     |
| FUNCTION | millisOfDay                  | [int\(LocalTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#millisOfDay(java.time.LocalTime))                                                                                                                  | Returns the number of milliseconds that have elapsed since the start of the day.                     |
| FUNCTION | millisOfDay                  | [int\(ZonedDateTime, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#millisOfDay(java.time.ZonedDateTime,boolean))                                                                                         | Returns the number of milliseconds that have elapsed since the start of the day.                     |
| FUNCTION | millisOfDayToLocalTime       | [LocalTime\(int\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#millisOfDayToLocalTime(int))                                                                                                                       | Converts the number of milliseconds from midnight to a LocalTime.                                    |
| FUNCTION | millisOfSecond               | [int\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#millisOfSecond(java.time.Instant,java.time.ZoneId))                                                                                          | Returns the number of milliseconds that have elapsed since the top of the second.                    |
| FUNCTION | millisOfSecond               | [int\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#millisOfSecond(java.time.ZonedDateTime))                                                                                                       | Returns the number of milliseconds that have elapsed since the top of the second.                    |
| FUNCTION | millisToMicros               | [long\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#millisToMicros(long))                                                                                                                                  | Converts milliseconds to microseconds.                                                               |
| FUNCTION | millisToNanos                | [long\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#millisToNanos(long))                                                                                                                                   | Converts milliseconds to nanoseconds.                                                                |
| FUNCTION | millisToSeconds              | [long\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#millisToSeconds(long))                                                                                                                                 | Converts milliseconds to seconds.                                                                    |
| FUNCTION | minus                        | [Duration\(Duration, Duration\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minus(java.time.Duration,java.time.Duration))                                                                                        | Subtracts two durations.                                                                             |
| FUNCTION | minus                        | [Instant\(Instant, Duration\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minus(java.time.Instant,java.time.Duration))                                                                                           | Subtracts a time period to an Instant.                                                               |
| FUNCTION | minus                        | [Instant\(Instant, Period\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minus(java.time.Instant,java.time.Period))                                                                                               | Subtracts a time period to an Instant.                                                               |
| FUNCTION | minus                        | [Instant\(Instant, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minus(java.time.Instant,long))                                                                                                             | Subtracts nanoseconds from an Instant.                                                               |
| FUNCTION | minus                        | [LocalDate\(LocalDate, Period\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minus(java.time.LocalDate,java.time.Period))                                                                                         | Subtracts a time period from a LocalDate.                                                            |
| FUNCTION | minus                        | [LocalDateTime\(LocalDateTime, Period\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minus(java.time.LocalDateTime,java.time.Period))                                                                             | Subtracts a time period from a LocalDateTime.                                                        |
| FUNCTION | minus                        | [Period\(Period, Period\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minus(java.time.Period,java.time.Period))                                                                                                  | Subtracts two periods.                                                                               |
| FUNCTION | minus                        | [ZonedDateTime\(ZonedDateTime, Duration\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minus(java.time.ZonedDateTime,java.time.Duration))                                                                         | Subtracts a time period to a ZonedDateTime.                                                          |
| FUNCTION | minus                        | [ZonedDateTime\(ZonedDateTime, Period\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minus(java.time.ZonedDateTime,java.time.Period))                                                                             | Subtracts a time period to a ZonedDateTime.                                                          |
| FUNCTION | minus                        | [ZonedDateTime\(ZonedDateTime, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minus(java.time.ZonedDateTime,long))                                                                                           | Subtracts nanoseconds from a ZonedDateTime.                                                          |
| FUNCTION | minus                        | [long\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minus(java.time.Instant,java.time.Instant))                                                                                                | Subtract one instant from another and return the difference in nanoseconds.                          |
| FUNCTION | minus                        | [long\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minus(java.time.ZonedDateTime,java.time.ZonedDateTime))                                                                        | Subtract one zoned date time from another and return the difference in nanoseconds.                  |
| FUNCTION | minusBusinessDays            | [Instant\(Instant, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#minusBusinessDays(java.time.Instant,int))                                                                                  | Subtracts a specified number of business days from an input time. Subtracting negative days is eq... |
| FUNCTION | minusBusinessDays            | [LocalDate\(LocalDate, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#minusBusinessDays(java.time.LocalDate,int))                                                                            | Subtracts a specified number of business days from an input date. Subtracting negative days is eq... |
| FUNCTION | minusBusinessDays            | [String\(String, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#minusBusinessDays(java.lang.String,int))                                                                                     | Subtracts a specified number of business days from an input date. Subtracting negative days is eq... |
| FUNCTION | minusBusinessDays            | [ZonedDateTime\(ZonedDateTime, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#minusBusinessDays(java.time.ZonedDateTime,int))                                                                | Subtracts a specified number of business days from an input time. Subtracting negative days is eq... |
| FUNCTION | minusDays                    | [Instant\(Instant, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#minusDays(java.time.Instant,int))                                                                                          | Subtracts a specified number of days to an input time. Subtracting negative days is equivalent to... |
| FUNCTION | minusDays                    | [LocalDate\(LocalDate, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#minusDays(java.time.LocalDate,int))                                                                                    | Subtracts a specified number of days to an input date. Subtracting negative days is equivalent to... |
| FUNCTION | minusDays                    | [LocalDate\(LocalDate, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minusDays(java.time.LocalDate,long))                                                                                                   | Subtracts days from a LocalDate.                                                                     |
| FUNCTION | minusDays                    | [LocalDateTime\(LocalDateTime, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minusDays(java.time.LocalDateTime,long))                                                                                       | Subtracts days from a LocalDate.                                                                     |
| FUNCTION | minusDays                    | [String\(String, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#minusDays(java.lang.String,int))                                                                                             | Subtracts a specified number of days to an input date. Subtracting negative days is equivalent to... |
| FUNCTION | minusDays                    | [ZonedDateTime\(ZonedDateTime, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#minusDays(java.time.ZonedDateTime,int))                                                                        | Subtracts a specified number of days to an input time. Subtracting negative days is equivalent to... |
| FUNCTION | minusNonBusinessDays         | [Instant\(Instant, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#minusNonBusinessDays(java.time.Instant,int))                                                                               | Subtracts a specified number of non-business days to an input time. Subtracting negative days is ... |
| FUNCTION | minusNonBusinessDays         | [LocalDate\(LocalDate, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#minusNonBusinessDays(java.time.LocalDate,int))                                                                         | Subtracts a specified number of non-business days to an input date. Subtracting negative days is ... |
| FUNCTION | minusNonBusinessDays         | [String\(String, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#minusNonBusinessDays(java.lang.String,int))                                                                                  | Subtracts a specified number of non-business days to an input date. Subtracting negative days is ... |
| FUNCTION | minusNonBusinessDays         | [ZonedDateTime\(ZonedDateTime, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#minusNonBusinessDays(java.time.ZonedDateTime,int))                                                             | Subtracts a specified number of non-business days to an input time. Subtracting negative days is ... |
| FUNCTION | minuteOfDay                  | [int\(Instant, ZoneId, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minuteOfDay(java.time.Instant,java.time.ZoneId,boolean))                                                                            | Returns the number of minutes that have elapsed since the start of the day.                          |
| FUNCTION | minuteOfDay                  | [int\(LocalDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minuteOfDay(java.time.LocalDateTime))                                                                                                          | Returns the number of minutes that have elapsed since the start of the day.                          |
| FUNCTION | minuteOfDay                  | [int\(LocalTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minuteOfDay(java.time.LocalTime))                                                                                                                  | Returns the number of minutes that have elapsed since the start of the day.                          |
| FUNCTION | minuteOfDay                  | [int\(ZonedDateTime, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minuteOfDay(java.time.ZonedDateTime,boolean))                                                                                         | Returns the number of minutes that have elapsed since the start of the day.                          |
| FUNCTION | minuteOfHour                 | [int\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minuteOfHour(java.time.Instant,java.time.ZoneId))                                                                                            | Returns the number of minutes that have elapsed since the top of the hour.                           |
| FUNCTION | minuteOfHour                 | [int\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#minuteOfHour(java.time.ZonedDateTime))                                                                                                         | Returns the number of minutes that have elapsed since the top of the hour.                           |
| FUNCTION | monthOfYear                  | [int\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#monthOfYear(java.time.Instant,java.time.ZoneId))                                                                                             | Returns a 1-based int value of the month of the year (Julian date) for an Instant in the specifie... |
| FUNCTION | monthOfYear                  | [int\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#monthOfYear(java.time.LocalDate))                                                                                                                  | Returns a 1-based int value of the month of the year (Julian date) for a LocalDate. January is 1,... |
| FUNCTION | monthOfYear                  | [int\(LocalDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#monthOfYear(java.time.LocalDateTime))                                                                                                          | Returns a 1-based int value of the month of the year (Julian date) for a LocalDateTime. January i... |
| FUNCTION | monthOfYear                  | [int\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#monthOfYear(java.time.ZonedDateTime))                                                                                                          | Returns a 1-based int value of the month of the year (Julian date) for a ZonedDateTime in the spe... |
| FUNCTION | multiply                     | [Duration\(Duration, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#multiply(java.time.Duration,long))                                                                                                       | Multiply a duration by a scalar.                                                                     |
| FUNCTION | multiply                     | [Duration\(long, Duration\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#multiply(long,java.time.Duration))                                                                                                       | Multiply a duration by a scalar.                                                                     |
| FUNCTION | multiply                     | [Period\(Period, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#multiply(java.time.Period,int))                                                                                                               | Multiply a period by a scalar.                                                                       |
| FUNCTION | multiply                     | [Period\(int, Period\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#multiply(int,java.time.Period))                                                                                                               | Multiply a period by a scalar.                                                                       |
| FUNCTION | nanosOfDay                   | [long\(Instant, ZoneId, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#nanosOfDay(java.time.Instant,java.time.ZoneId,boolean))                                                                            | Returns the number of nanoseconds that have elapsed since the start of the day.                      |
| FUNCTION | nanosOfDay                   | [long\(LocalDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#nanosOfDay(java.time.LocalDateTime))                                                                                                          | Returns the number of nanoseconds that have elapsed since the start of the day.                      |
| FUNCTION | nanosOfDay                   | [long\(LocalTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#nanosOfDay(java.time.LocalTime))                                                                                                                  | Returns the number of nanoseconds that have elapsed since the start of the day.                      |
| FUNCTION | nanosOfDay                   | [long\(ZonedDateTime, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#nanosOfDay(java.time.ZonedDateTime,boolean))                                                                                         | Returns the number of nanoseconds that have elapsed since the start of the day.                      |
| FUNCTION | nanosOfDayToLocalTime        | [LocalTime\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#nanosOfDayToLocalTime(long))                                                                                                                      | Converts the number of nanoseconds from midnight to a LocalTime.                                     |
| FUNCTION | nanosOfMilli                 | [int\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#nanosOfMilli(java.time.Instant))                                                                                                                     | Returns the number of nanoseconds that have elapsed since the top of the millisecond.                |
| FUNCTION | nanosOfMilli                 | [int\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#nanosOfMilli(java.time.ZonedDateTime))                                                                                                         | Returns the number of nanoseconds that have elapsed since the top of the millisecond.                |
| FUNCTION | nanosOfSecond                | [long\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#nanosOfSecond(java.time.Instant,java.time.ZoneId))                                                                                          | Returns the number of nanoseconds that have elapsed since the top of the second.                     |
| FUNCTION | nanosOfSecond                | [long\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#nanosOfSecond(java.time.ZonedDateTime))                                                                                                       | Returns the number of nanoseconds that have elapsed since the top of the second.                     |
| FUNCTION | nanosToMicros                | [long\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#nanosToMicros(long))                                                                                                                                   | Converts nanoseconds to microseconds.                                                                |
| FUNCTION | nanosToMillis                | [long\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#nanosToMillis(long))                                                                                                                                   | Converts nanoseconds to milliseconds.                                                                |
| FUNCTION | nanosToSeconds               | [long\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#nanosToSeconds(long))                                                                                                                                  | Converts nanoseconds to seconds.                                                                     |
| FUNCTION | nonBusinessDates             | [LocalDate\[\]\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#nonBusinessDates(java.time.Instant,java.time.Instant))                                                           | Returns the non-business dates in a given range.                                                     |
| FUNCTION | nonBusinessDates             | [LocalDate\[\]\(Instant, Instant, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#nonBusinessDates(java.time.Instant,java.time.Instant,boolean,boolean))                         | Returns the non-business dates in a given range.                                                     |
| FUNCTION | nonBusinessDates             | [LocalDate\[\]\(LocalDate, LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#nonBusinessDates(java.time.LocalDate,java.time.LocalDate))                                                   | Returns the non-business dates in a given range.                                                     |
| FUNCTION | nonBusinessDates             | [LocalDate\[\]\(LocalDate, LocalDate, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#nonBusinessDates(java.time.LocalDate,java.time.LocalDate,boolean,boolean))                 | Returns the non-business dates in a given range.                                                     |
| FUNCTION | nonBusinessDates             | [LocalDate\[\]\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#nonBusinessDates(java.time.ZonedDateTime,java.time.ZonedDateTime))                                   | Returns the non-business dates in a given range.                                                     |
| FUNCTION | nonBusinessDates             | [LocalDate\[\]\(ZonedDateTime, ZonedDateTime, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#nonBusinessDates(java.time.ZonedDateTime,java.time.ZonedDateTime,boolean,boolean)) | Returns the non-business dates in a given range.                                                     |
| FUNCTION | nonBusinessDates             | [String\[\]\(String, String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#nonBusinessDates(java.lang.String,java.lang.String))                                                                  | Returns the non-business dates in a given range.                                                     |
| FUNCTION | nonBusinessDates             | [String\[\]\(String, String, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#nonBusinessDates(java.lang.String,java.lang.String,boolean,boolean))                                | Returns the non-business dates in a given range.                                                     |
| FUNCTION | now                          | [Instant\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#now())                                                                                                                                                  | Provides the current instant with nanosecond resolution according to the current clock. Under mos... |
| FUNCTION | nowMillisResolution          | [Instant\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#nowMillisResolution())                                                                                                                                  | Provides the current instant with millisecond resolution according to the current clock. Under mo... |
| FUNCTION | nowSystem                    | [Instant\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#nowSystem())                                                                                                                                            | Provides the current instant with nanosecond resolution according to the system clock. Note that ... |
| FUNCTION | nowSystemMillisResolution    | [Instant\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#nowSystemMillisResolution())                                                                                                                            | Provides the current instant with millisecond resolution according to the system clock. Note that... |
| FUNCTION | numberBusinessDates          | [int\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberBusinessDates(java.time.Instant,java.time.Instant))                                                                  | Returns the number of business dates in a given range.                                               |
| FUNCTION | numberBusinessDates          | [int\(Instant, Instant, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberBusinessDates(java.time.Instant,java.time.Instant,boolean,boolean))                                | Returns the number of business dates in a given range.                                               |
| FUNCTION | numberBusinessDates          | [int\(LocalDate, LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberBusinessDates(java.time.LocalDate,java.time.LocalDate))                                                          | Returns the number of business dates in a given range.                                               |
| FUNCTION | numberBusinessDates          | [int\(LocalDate, LocalDate, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberBusinessDates(java.time.LocalDate,java.time.LocalDate,boolean,boolean))                        | Returns the number of business dates in a given range.                                               |
| FUNCTION | numberBusinessDates          | [int\(String, String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberBusinessDates(java.lang.String,java.lang.String))                                                                      | Returns the number of business dates in a given range.                                               |
| FUNCTION | numberBusinessDates          | [int\(String, String, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberBusinessDates(java.lang.String,java.lang.String,boolean,boolean))                                    | Returns the number of business dates in a given range.                                               |
| FUNCTION | numberBusinessDates          | [int\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberBusinessDates(java.time.ZonedDateTime,java.time.ZonedDateTime))                                          | Returns the number of business dates in a given range.                                               |
| FUNCTION | numberBusinessDates          | [int\(ZonedDateTime, ZonedDateTime, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberBusinessDates(java.time.ZonedDateTime,java.time.ZonedDateTime,boolean,boolean))        | Returns the number of business dates in a given range.                                               |
| FUNCTION | numberCalendarDates          | [int\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberCalendarDates(java.time.Instant,java.time.Instant))                                                                  | Returns the number of dates in a given range.                                                        |
| FUNCTION | numberCalendarDates          | [int\(Instant, Instant, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberCalendarDates(java.time.Instant,java.time.Instant,boolean,boolean))                                | Returns the number of dates in a given range.                                                        |
| FUNCTION | numberCalendarDates          | [int\(LocalDate, LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberCalendarDates(java.time.LocalDate,java.time.LocalDate))                                                          | Returns the number of dates in a given range.                                                        |
| FUNCTION | numberCalendarDates          | [int\(LocalDate, LocalDate, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberCalendarDates(java.time.LocalDate,java.time.LocalDate,boolean,boolean))                        | Returns the number of dates in a given range.                                                        |
| FUNCTION | numberCalendarDates          | [int\(String, String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberCalendarDates(java.lang.String,java.lang.String))                                                                      | Returns the number of dates in a given range.                                                        |
| FUNCTION | numberCalendarDates          | [int\(String, String, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberCalendarDates(java.lang.String,java.lang.String,boolean,boolean))                                    | Returns the number of dates in a given range.                                                        |
| FUNCTION | numberCalendarDates          | [int\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberCalendarDates(java.time.ZonedDateTime,java.time.ZonedDateTime))                                          | Returns the number of dates in a given range.                                                        |
| FUNCTION | numberCalendarDates          | [int\(ZonedDateTime, ZonedDateTime, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberCalendarDates(java.time.ZonedDateTime,java.time.ZonedDateTime,boolean,boolean))        | Returns the number of dates in a given range.                                                        |
| FUNCTION | numberNonBusinessDates       | [int\(Instant, Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberNonBusinessDates(java.time.Instant,java.time.Instant))                                                               | Returns the number of non-business dates in a given range.                                           |
| FUNCTION | numberNonBusinessDates       | [int\(Instant, Instant, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberNonBusinessDates(java.time.Instant,java.time.Instant,boolean,boolean))                             | Returns the number of non-business dates in a given range.                                           |
| FUNCTION | numberNonBusinessDates       | [int\(LocalDate, LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberNonBusinessDates(java.time.LocalDate,java.time.LocalDate))                                                       | Returns the number of non-business dates in a given range.                                           |
| FUNCTION | numberNonBusinessDates       | [int\(LocalDate, LocalDate, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberNonBusinessDates(java.time.LocalDate,java.time.LocalDate,boolean,boolean))                     | Returns the number of non-business dates in a given range.                                           |
| FUNCTION | numberNonBusinessDates       | [int\(String, String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberNonBusinessDates(java.lang.String,java.lang.String))                                                                   | Returns the number of non-business dates in a given range.                                           |
| FUNCTION | numberNonBusinessDates       | [int\(String, String, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberNonBusinessDates(java.lang.String,java.lang.String,boolean,boolean))                                 | Returns the number of non-business dates in a given range.                                           |
| FUNCTION | numberNonBusinessDates       | [int\(ZonedDateTime, ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberNonBusinessDates(java.time.ZonedDateTime,java.time.ZonedDateTime))                                       | Returns the number of non-business dates in a given range.                                           |
| FUNCTION | numberNonBusinessDates       | [int\(ZonedDateTime, ZonedDateTime, boolean, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#numberNonBusinessDates(java.time.ZonedDateTime,java.time.ZonedDateTime,boolean,boolean))     | Returns the number of non-business dates in a given range.                                           |
| FUNCTION | parseDuration                | [Duration\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseDuration(java.lang.String))                                                                                                                 | Parses the string argument as a duration, which is a unit of time in terms of clock time (24-hour... |
| FUNCTION | parseDurationNanos           | [long\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseDurationNanos(java.lang.String))                                                                                                                | Parses the string argument as a time duration in nanoseconds. Time duration strings can be for...    |
| FUNCTION | parseDurationNanosQuiet      | [long\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseDurationNanosQuiet(java.lang.String))                                                                                                           | Parses the string argument as a time duration in nanoseconds. Time duration strings can be for...    |
| FUNCTION | parseDurationQuiet           | [Duration\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseDurationQuiet(java.lang.String))                                                                                                            | Parses the string argument as a duration, which is a unit of time in terms of clock time (24-hour... |
| FUNCTION | parseEpochNanos              | [long\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseEpochNanos(java.lang.String))                                                                                                                   | Parses the string argument as nanoseconds since the Epoch. Date time strings are formatted acc...    |
| FUNCTION | parseEpochNanosQuiet         | [long\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseEpochNanosQuiet(java.lang.String))                                                                                                              | Parses the string argument as a nanoseconds since the Epoch. Date time strings are formatted a...    |
| FUNCTION | parseInstant                 | [Instant\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseInstant(java.lang.String))                                                                                                                   | Parses the string argument as an Instant. Date time strings are formatted according to the ISO...    |
| FUNCTION | parseInstantQuiet            | [Instant\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseInstantQuiet(java.lang.String))                                                                                                              | Parses the string argument as an Instant. Date time strings are formatted according to the ISO...    |
| FUNCTION | parseLocalDate               | [LocalDate\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseLocalDate(java.lang.String))                                                                                                               | Parses the string argument as a local date, which is a date without a time or time zone. Date ...    |
| FUNCTION | parseLocalDateQuiet          | [LocalDate\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseLocalDateQuiet(java.lang.String))                                                                                                          | Parses the string argument as a local date, which is a date without a time or time zone. Date ...    |
| FUNCTION | parseLocalDateTime           | [LocalDateTime\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseLocalDateTime(java.lang.String))                                                                                                       | Parses the string argument as a LocalDateTime. Date time strings are formatted according to th...    |
| FUNCTION | parseLocalDateTimeQuiet      | [LocalDateTime\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseLocalDateTimeQuiet(java.lang.String))                                                                                                  | Parses the string argument as a LocalDateTime. Date time strings are formatted according to th...    |
| FUNCTION | parseLocalTime               | [LocalTime\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseLocalTime(java.lang.String))                                                                                                               | Parses the string argument as a local time, which is the time that would be read from a clock and... |
| FUNCTION | parseLocalTimeQuiet          | [LocalTime\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseLocalTimeQuiet(java.lang.String))                                                                                                          | Parses the string argument as a local time, which is the time that would be read from a clock and... |
| FUNCTION | parsePeriod                  | [Period\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parsePeriod(java.lang.String))                                                                                                                     | Parses the string argument as a period, which is a unit of time in terms of calendar time (days, ... |
| FUNCTION | parsePeriodQuiet             | [Period\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parsePeriodQuiet(java.lang.String))                                                                                                                | Parses the string argument as a period, which is a unit of time in terms of calendar time (days, ... |
| FUNCTION | parseTimePrecision           | [ChronoField\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseTimePrecision(java.lang.String))                                                                                                         | Returns a ChronoField indicating the level of precision in a time, datetime, or period nanos stri... |
| FUNCTION | parseTimePrecisionQuiet      | [ChronoField\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseTimePrecisionQuiet(java.lang.String))                                                                                                    | Returns a ChronoField indicating the level of precision in a time or datetime string.                |
| FUNCTION | parseTimeZone                | [ZoneId\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseTimeZone(java.lang.String))                                                                                                                   | Parses the string argument as a time zone.                                                           |
| FUNCTION | parseTimeZoneQuiet           | [ZoneId\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseTimeZoneQuiet(java.lang.String))                                                                                                              | Parses the string argument as a time zone.                                                           |
| FUNCTION | parseZonedDateTime           | [ZonedDateTime\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseZonedDateTime(java.lang.String))                                                                                                       | Parses the string argument as a ZonedDateTime. Date time strings are formatted according to th...    |
| FUNCTION | parseZonedDateTimeQuiet      | [ZonedDateTime\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#parseZonedDateTimeQuiet(java.lang.String))                                                                                                  | Parses the string argument as a ZonedDateTime. Date time strings are formatted according to th...    |
| FUNCTION | pastBusinessDate             | [LocalDate\(int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#pastBusinessDate(int))                                                                                                            | Subtracts a specified number of business days from the current date. Subtracting negative days is... |
| FUNCTION | pastDate                     | [LocalDate\(int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#pastDate(int))                                                                                                                    | Subtracts a specified number of days from the current date. Subtracting negative days is equivale... |
| FUNCTION | pastNonBusinessDate          | [LocalDate\(int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#pastNonBusinessDate(int))                                                                                                         | Subtracts a specified number of non-business days to the current date. Subtracting negative days ... |
| FUNCTION | plus                         | [Duration\(Duration, Duration\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#plus(java.time.Duration,java.time.Duration))                                                                                         | Adds two durations.                                                                                  |
| FUNCTION | plus                         | [Instant\(Instant, Duration\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#plus(java.time.Instant,java.time.Duration))                                                                                            | Adds a time period to an Instant.                                                                    |
| FUNCTION | plus                         | [Instant\(Instant, Period\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#plus(java.time.Instant,java.time.Period))                                                                                                | Adds a time period to an Instant.                                                                    |
| FUNCTION | plus                         | [Instant\(Instant, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#plus(java.time.Instant,long))                                                                                                              | Adds nanoseconds to an Instant.                                                                      |
| FUNCTION | plus                         | [LocalDate\(LocalDate, Period\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#plus(java.time.LocalDate,java.time.Period))                                                                                          | Adds a time period to a LocalDate.                                                                   |
| FUNCTION | plus                         | [LocalDateTime\(LocalDateTime, Period\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#plus(java.time.LocalDateTime,java.time.Period))                                                                              | Adds a time period to a LocalDateTime.                                                               |
| FUNCTION | plus                         | [Period\(Period, Period\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#plus(java.time.Period,java.time.Period))                                                                                                   | Adds two periods.                                                                                    |
| FUNCTION | plus                         | [ZonedDateTime\(ZonedDateTime, Duration\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#plus(java.time.ZonedDateTime,java.time.Duration))                                                                          | Adds a time period to a ZonedDateTime.                                                               |
| FUNCTION | plus                         | [ZonedDateTime\(ZonedDateTime, Period\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#plus(java.time.ZonedDateTime,java.time.Period))                                                                              | Adds a time period to a ZonedDateTime.                                                               |
| FUNCTION | plus                         | [ZonedDateTime\(ZonedDateTime, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#plus(java.time.ZonedDateTime,long))                                                                                            | Adds nanoseconds to a ZonedDateTime.                                                                 |
| FUNCTION | plusBusinessDays             | [Instant\(Instant, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#plusBusinessDays(java.time.Instant,int))                                                                                   | Adds a specified number of business days to an input time. Adding negative days is equivalent to ... |
| FUNCTION | plusBusinessDays             | [LocalDate\(LocalDate, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#plusBusinessDays(java.time.LocalDate,int))                                                                             | Adds a specified number of business days to an input date. Adding negative days is equivalent to ... |
| FUNCTION | plusBusinessDays             | [String\(String, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#plusBusinessDays(java.lang.String,int))                                                                                      | Adds a specified number of business days to an input date. Adding negative days is equivalent to ... |
| FUNCTION | plusBusinessDays             | [ZonedDateTime\(ZonedDateTime, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#plusBusinessDays(java.time.ZonedDateTime,int))                                                                 | Adds a specified number of business days to an input time. Adding negative days is equivalent to ... |
| FUNCTION | plusDays                     | [Instant\(Instant, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#plusDays(java.time.Instant,int))                                                                                           | Adds a specified number of days to an input time. Adding negative days is equivalent to subtracti... |
| FUNCTION | plusDays                     | [LocalDate\(LocalDate, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#plusDays(java.time.LocalDate,int))                                                                                     | Adds a specified number of days to an input date. Adding negative days is equivalent to subtracti... |
| FUNCTION | plusDays                     | [LocalDate\(LocalDate, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#plusDays(java.time.LocalDate,long))                                                                                                    | Adds days to a LocalDate.                                                                            |
| FUNCTION | plusDays                     | [LocalDateTime\(LocalDateTime, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#plusDays(java.time.LocalDateTime,long))                                                                                        | Adds days to a LocalDate.                                                                            |
| FUNCTION | plusDays                     | [String\(String, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#plusDays(java.lang.String,int))                                                                                              | Adds a specified number of days to an input date. Adding negative days is equivalent to subtracti... |
| FUNCTION | plusDays                     | [ZonedDateTime\(ZonedDateTime, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#plusDays(java.time.ZonedDateTime,int))                                                                         | Adds a specified number of days to an input time. Adding negative days is equivalent to subtracti... |
| FUNCTION | plusNonBusinessDays          | [Instant\(Instant, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#plusNonBusinessDays(java.time.Instant,int))                                                                                | Adds a specified number of non-business days to an input time. Adding negative days is equivalent... |
| FUNCTION | plusNonBusinessDays          | [LocalDate\(LocalDate, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#plusNonBusinessDays(java.time.LocalDate,int))                                                                          | Adds a specified number of non-business days to an input date. Adding negative days is equivalent... |
| FUNCTION | plusNonBusinessDays          | [String\(String, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#plusNonBusinessDays(java.lang.String,int))                                                                                   | Adds a specified number of non-business days to an input date. Adding negative days is equivalent... |
| FUNCTION | plusNonBusinessDays          | [ZonedDateTime\(ZonedDateTime, int\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#plusNonBusinessDays(java.time.ZonedDateTime,int))                                                              | Adds a specified number of non-business days to an input time. Adding negative days is equivalent... |
| FUNCTION | removeCalendar               | [void\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/Calendars.html#removeCalendar(java.lang.String))                                                                                                               | Removes a calendar from the collection.                                                              |
| FUNCTION | secondOfDay                  | [int\(Instant, ZoneId, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#secondOfDay(java.time.Instant,java.time.ZoneId,boolean))                                                                            | Returns the number of seconds that have elapsed since the start of the day.                          |
| FUNCTION | secondOfDay                  | [int\(LocalDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#secondOfDay(java.time.LocalDateTime))                                                                                                          | Returns the number of seconds that have elapsed since the start of the day.                          |
| FUNCTION | secondOfDay                  | [int\(LocalTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#secondOfDay(java.time.LocalTime))                                                                                                                  | Returns the number of seconds that have elapsed since the start of the day.                          |
| FUNCTION | secondOfDay                  | [int\(ZonedDateTime, boolean\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#secondOfDay(java.time.ZonedDateTime,boolean))                                                                                         | Returns the number of seconds that have elapsed since the start of the day.                          |
| FUNCTION | secondOfMinute               | [int\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#secondOfMinute(java.time.Instant,java.time.ZoneId))                                                                                          | Returns the number of seconds that have elapsed since the top of the minute.                         |
| FUNCTION | secondOfMinute               | [int\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#secondOfMinute(java.time.ZonedDateTime))                                                                                                       | Returns the number of seconds that have elapsed since the top of the minute.                         |
| FUNCTION | secondsToMicros              | [long\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#secondsToMicros(long))                                                                                                                                 | Converts seconds to microseconds.                                                                    |
| FUNCTION | secondsToMillis              | [long\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#secondsToMillis(long))                                                                                                                                 | Converts seconds to milliseconds.                                                                    |
| FUNCTION | secondsToNanos               | [long\(long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#secondsToNanos(long))                                                                                                                                  | Converts seconds to nanoseconds.                                                                     |
| FUNCTION | setCalendar                  | [void\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/Calendars.html#setCalendar(java.lang.String))                                                                                                                  | Sets the default calendar by name. The calendar must already be present in the collection.           |
| FUNCTION | setClock                     | [void\(Clock\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#setClock(io.deephaven.base.clock.Clock))                                                                                                              | Set the clock used to compute the current time. This allows a custom clock to be used instead of ... |
| FUNCTION | standardBusinessDay          | [CalendarDay\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#standardBusinessDay())                                                                                                             | Business day schedule for a standard business day.                                                   |
| FUNCTION | standardBusinessDuration     | [Duration\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#standardBusinessDuration())                                                                                                           | Length of a standard business day.                                                                   |
| FUNCTION | standardBusinessNanos        | [long\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#standardBusinessNanos())                                                                                                                  | Length of a standard business day in nanoseconds.                                                    |
| FUNCTION | timeZone                     | [ZoneId\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#timeZone())                                                                                                                                              | Gets the system default time zone.                                                                   |
| FUNCTION | timeZone                     | [ZoneId\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#timeZone(java.lang.String))                                                                                                                        | Gets the time zone for a time zone name.                                                             |
| FUNCTION | timeZoneAliasAdd             | [void\(String, String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#timeZoneAliasAdd(java.lang.String,java.lang.String))                                                                                         | Adds a new time zone alias.                                                                          |
| FUNCTION | timeZoneAliasRm              | [boolean\(String\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#timeZoneAliasRm(java.lang.String))                                                                                                                | Removes a time zone alias.                                                                           |
| FUNCTION | toDate                       | [Date\(Instant\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toDate(java.time.Instant))                                                                                                                          | Converts an Instant to a Date. instant will be truncated to millisecond resolution.                  |
| FUNCTION | toDate                       | [Date\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toDate(java.time.ZonedDateTime))                                                                                                              | Converts a ZonedDateTime to a Date. dateTime will be truncated to millisecond resolution.            |
| FUNCTION | toExcelTime                  | [double\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toExcelTime(java.time.Instant,java.time.ZoneId))                                                                                          | Converts an Instant to an Excel time represented as a double.                                        |
| FUNCTION | toExcelTime                  | [double\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toExcelTime(java.time.ZonedDateTime))                                                                                                       | Converts a ZonedDateTime to an Excel time represented as a double.                                   |
| FUNCTION | toInstant                    | [Instant\(Date\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toInstant(java.util.Date))                                                                                                                          | Converts a Date to an Instant.                                                                       |
| FUNCTION | toInstant                    | [Instant\(LocalDate, LocalTime, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toInstant(java.time.LocalDate,java.time.LocalTime,java.time.ZoneId))                                                        | Converts a LocalDate, LocalTime, and ZoneId to an Instant.                                           |
| FUNCTION | toInstant                    | [Instant\(LocalDateTime, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toInstant(java.time.LocalDateTime,java.time.ZoneId))                                                                               | Converts a LocalDateTime and ZoneId to an Instant.                                                   |
| FUNCTION | toInstant                    | [Instant\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toInstant(java.time.ZonedDateTime))                                                                                                        | Converts a ZonedDateTime to an Instant.                                                              |
| FUNCTION | toLocalDate                  | [LocalDate\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toLocalDate(java.time.Instant,java.time.ZoneId))                                                                                       | Converts an Instant to a LocalDate with the specified ZoneId.                                        |
| FUNCTION | toLocalDate                  | [LocalDate\(LocalDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toLocalDate(java.time.LocalDateTime))                                                                                                    | Gets the LocalDate portion of a LocalDateTime.                                                       |
| FUNCTION | toLocalDate                  | [LocalDate\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toLocalDate(java.time.ZonedDateTime))                                                                                                    | Gets the LocalDate portion of a ZonedDateTime.                                                       |
| FUNCTION | toLocalDateTime              | [LocalDateTime\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toLocalDateTime(java.time.Instant,java.time.ZoneId))                                                                               | Converts an Instant to a LocalDateTime with the specified ZoneId.                                    |
| FUNCTION | toLocalDateTime              | [LocalDateTime\(LocalDate, LocalTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toLocalDateTime(java.time.LocalDate,java.time.LocalTime))                                                                     | Converts a LocalDate and LocalTime pair to a LocalDateTime.                                          |
| FUNCTION | toLocalDateTime              | [LocalDateTime\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toLocalDateTime(java.time.ZonedDateTime))                                                                                            | Gets the LocalDateTime portion of a ZonedDateTime.                                                   |
| FUNCTION | toLocalTime                  | [LocalTime\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toLocalTime(java.time.Instant,java.time.ZoneId))                                                                                       | Converts an Instant to a LocalTime with the specified ZoneId.                                        |
| FUNCTION | toLocalTime                  | [LocalTime\(LocalDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toLocalTime(java.time.LocalDateTime))                                                                                                    | Gets the LocalTime portion of a LocalDateTime.                                                       |
| FUNCTION | toLocalTime                  | [LocalTime\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toLocalTime(java.time.ZonedDateTime))                                                                                                    | Gets the LocalTime portion of a ZonedDateTime.                                                       |
| FUNCTION | toZonedDateTime              | [ZonedDateTime\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toZonedDateTime(java.time.Instant,java.time.ZoneId))                                                                               | Converts an Instant to a ZonedDateTime.                                                              |
| FUNCTION | toZonedDateTime              | [ZonedDateTime\(LocalDate, LocalTime, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toZonedDateTime(java.time.LocalDate,java.time.LocalTime,java.time.ZoneId))                                            | Converts a LocalDate, LocalTime, and ZoneId to a ZonedDateTime.                                      |
| FUNCTION | toZonedDateTime              | [ZonedDateTime\(LocalDateTime, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#toZonedDateTime(java.time.LocalDateTime,java.time.ZoneId))                                                                   | Converts a LocalDateTime and ZoneId to a ZonedDateTime.                                              |
| FUNCTION | today                        | [String\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#today())                                                                                                                                                 | Provides the current date string according to the current clock and the default time zone. Under...  |
| FUNCTION | today                        | [String\(ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#today(java.time.ZoneId))                                                                                                                           | Provides the current date string according to the current clock. Under most circumstances, this ...  |
| FUNCTION | todayLocalDate               | [LocalDate\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#todayLocalDate())                                                                                                                                     | Provides the current date according to the current clock and the default time zone. Under most c...  |
| FUNCTION | todayLocalDate               | [LocalDate\(ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#todayLocalDate(java.time.ZoneId))                                                                                                               | Provides the current date according to the current clock. Under most circumstances, this method ...  |
| FUNCTION | upperBin                     | [Instant\(Instant, Duration\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#upperBin(java.time.Instant,java.time.Duration))                                                                                        | Returns an Instant value, which is at the ending (upper) end of a time range defined by the inter... |
| FUNCTION | upperBin                     | [Instant\(Instant, Duration, Duration\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#upperBin(java.time.Instant,java.time.Duration,java.time.Duration))                                                           | Returns an Instant value, which is at the ending (upper) end of a time range defined by the inter... |
| FUNCTION | upperBin                     | [Instant\(Instant, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#upperBin(java.time.Instant,long))                                                                                                          | Returns an Instant value, which is at the ending (upper) end of a time range defined by the inter... |
| FUNCTION | upperBin                     | [Instant\(Instant, long, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#upperBin(java.time.Instant,long,long))                                                                                               | Returns an Instant value, which is at the ending (upper) end of a time range defined by the inter... |
| FUNCTION | upperBin                     | [ZonedDateTime\(ZonedDateTime, Duration\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#upperBin(java.time.ZonedDateTime,java.time.Duration))                                                                      | Returns a ZonedDateTime value, which is at the ending (upper) end of a time range defined by the ... |
| FUNCTION | upperBin                     | [ZonedDateTime\(ZonedDateTime, Duration, Duration\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#upperBin(java.time.ZonedDateTime,java.time.Duration,java.time.Duration))                                         | Returns a ZonedDateTime value, which is at the ending (upper) end of a time range defined by the ... |
| FUNCTION | upperBin                     | [ZonedDateTime\(ZonedDateTime, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#upperBin(java.time.ZonedDateTime,long))                                                                                        | Returns a ZonedDateTime value, which is at the ending (upper) end of a time range defined by the ... |
| FUNCTION | upperBin                     | [ZonedDateTime\(ZonedDateTime, long, long\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#upperBin(java.time.ZonedDateTime,long,long))                                                                             | Returns a ZonedDateTime value, which is at the ending (upper) end of a time range defined by the ... |
| FUNCTION | weekendDays                  | [Set\(\)](https://deephaven.io/core/javadoc/io/deephaven/time/calendar/StaticCalendarMethods.html#weekendDays())                                                                                                                             | Returns the days that make up a weekend.                                                             |
| FUNCTION | year                         | [int\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#year(java.time.Instant,java.time.ZoneId))                                                                                                    | Returns the year for an Instant in the specified time zone.                                          |
| FUNCTION | year                         | [int\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#year(java.time.LocalDate))                                                                                                                         | Returns the year for a LocalDate.                                                                    |
| FUNCTION | year                         | [int\(LocalDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#year(java.time.LocalDateTime))                                                                                                                 | Returns the year for a LocalDateTime.                                                                |
| FUNCTION | year                         | [int\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#year(java.time.ZonedDateTime))                                                                                                                 | Returns the year for a ZonedDateTime in the specified time zone.                                     |
| FUNCTION | yearOfCentury                | [int\(Instant, ZoneId\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#yearOfCentury(java.time.Instant,java.time.ZoneId))                                                                                           | Returns the year of the century (two-digit year) for an Instant in the specified time zone.          |
| FUNCTION | yearOfCentury                | [int\(LocalDate\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#yearOfCentury(java.time.LocalDate))                                                                                                                | Returns the year of the century (two-digit year) for a LocalDate.                                    |
| FUNCTION | yearOfCentury                | [int\(LocalDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#yearOfCentury(java.time.LocalDateTime))                                                                                                        | Returns the year of the century (two-digit year) for a LocalDateTime.                                |
| FUNCTION | yearOfCentury                | [int\(ZonedDateTime\)](https://deephaven.io/core/javadoc/io/deephaven/time/DateTimeUtils.html#yearOfCentury(java.time.ZonedDateTime))                                                                                                        | Returns the year of the century (two-digit year) for a ZonedDateTime in the specified time zone.     |

## Related documentation

- [Auto-imported functions](./index.md)
