A spec with a [start_date, end_date)
closed-open date range semantic.
schema
.
processors
.
model_processor
.
DatedSpec
(
start_date
:
(
datetime
.
date
|
None
)
=
None
,
end_date
:
(
datetime
.
date
|
None
)
=
None
,
date_interval_tag
:
str
=
''
)
Attributes
The start date of the analysis/optimization. If left as
None
,
then this will eventually resolve to a model's first time coordinate.The end date of the analysis/optimization. If left as
None
, then
this will eventually resolve to a model's last time coordinate. When
specified, this end date is exclusive.Methods
resolver
resolver
(
time_coordinates
:
tc
.
TimeCoordinates
)
->
'DatedSpecResolver'
Returns a date resolver for this spec, with the given Meridian model.
validate
validate
()
Overrides the Spec.validate() method to check that dates are valid.
__eq__
__eq__
(
other
)
Return self==value.



