TimeRangedModel
TimeRangedModel(
description: str = ““,
extra_fields: collections.abc.Mapping[str, str | int | float | bool[str, int, float, bool]] =
start_time: datetime64 = NaT,
end_time: datetime64 = NaT,
)-> None
Base class for inventory objects with time-validity epochs.
Validity intervals are half-open, [start_time, end_time); an unset (NaT) end time means the epoch is ongoing. All times are UTC.
Methods
| Name | Description |
|---|---|
| is_effective_at | Return True if this epoch is valid at the supplied time (half-open). |
| get_summary_df | Get dataframe of attributes and descriptions for display. |
| new | Create a new instance with some attributes updated. |
| overlaps | Return True if two half-open validity intervals overlap. |