TimeSelector
self, time_frame) time.TimeSelector(
A utility class for selecting a subset of a time frame. Most of the time you obtain one of these using TimeFrame
’s select
property.
Attributes
time_frame: TimeFrame
-
The original time frame.
Methods
Name | Description |
---|---|
all |
Select the entirety of the time frame. |
days |
Subset the time frame by providing a start and end simulation day (inclusive). |
range |
Subset the time frame by providing the start and end date (inclusive). |
rangex |
Subset the time frame by providing the start and end date (exclusive). |
year |
Subset the time frame to a specific year. |