Returns a new DateTimeIndex with instants at the specified zone
Returns a new DateTimeIndex with instants at the specified zone
The i-th date-time in the index.
The i-th date-time in the index.
The first date-time in the index.
The first date-time in the index.
The location at which the given date-time, as milliseconds since the epoch, could be inserted.
The location at which the given date-time, as milliseconds since the epoch, could be inserted. It is the location of the first date-time that is greater than the given date-time. If the given date-time is greater than or equal to the last date-time in the index, the index size is returned.
The location at which the given date-time could be inserted.
The location at which the given date-time could be inserted. It is the location of the first date-time that is greater than the given date-time. If the given date-time is greater than or equal to the last date-time in the index, the index size is returned.
Returns a sub-slice of the index, starting and ending at the given indices.
Returns a sub-slice of the index, starting and ending at the given indices.
Unlike the slice methods, islice is exclusive at the top of the range, as is the norm with typical array indexing, meaning that dtIndex.slice(dateTimeAtLoc(0), dateTimeAtLoc(5)) will return an index including one more element than dtIndex.islice(0, 5).
Returns a sub-slice of the index with the given range of indices.
Returns a sub-slice of the index with the given range of indices.
The last date-time in the index.
The last date-time in the index. Inclusive.
The location of the given date-time, as nanoseconds since the epoch.
The location of the given date-time, as nanoseconds since the epoch. If the index contains the date-time more than once, returns its first appearance. If the given date-time does not appear in the index, returns -1.
The location of the given date-time.
The location of the given date-time. If the index contains the date-time more than once, returns its first appearance. If the given date-time does not appear in the index, returns -1.
Returns an iterator over the contents of the DateTimeIndex as nanosecond values from the epoch.
Returns an iterator over the contents of the DateTimeIndex as nanosecond values from the epoch.
The number of date-times in the index.
The number of date-times in the index.
Returns a sub-slice of the index, starting and ending at the given date-times in millis since the epoch (inclusive).
Returns a sub-slice of the index, starting and ending at the given date-times in millis since the epoch (inclusive).
Returns a sub-slice of the index, starting and ending at the given date-times (inclusive).
Returns a sub-slice of the index, starting and ending at the given date-times (inclusive).
Returns a sub-slice of the index, confined to the given interval (inclusive).
Returns a sub-slice of the index, confined to the given interval (inclusive).
Returns the contents of the DateTimeIndex as an array of nanosecond values from the epoch.
Returns the contents of the DateTimeIndex as an array of nanosecond values from the epoch.
Returns the contents of the DateTimeIndex as an array of ZonedDateTime
Returns the contents of the DateTimeIndex as an array of ZonedDateTime
The time zone of date-times in the index.
The time zone of date-times in the index.
Returns an iterator over the contents of the DateTimeIndex as ZonedDateTime
Returns an iterator over the contents of the DateTimeIndex as ZonedDateTime
An implementation of DateTimeIndex that holds a hybrid collection of DateTimeIndex implementations.
Indices are assumed to be sorted and disjoint such that for any two consecutive indices i and j: i.last < j.first