Join the newly launched
Discord community for real-time discussions, peer support, and direct interaction with the Meridian team!
schema.processors.model_processor.DatedSpec
Stay organized with collections
Save and categorize content based on your preferences.
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 |
start_date
|
The start date of the analysis/optimization. If left as None,
then this will eventually resolve to a model's first time coordinate.
|
end_date
|
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.
|
date_interval_tag
|
An optional tag that identifies the date interval.
|
Methods
resolver
View source
resolver(
time_coordinates: tc.TimeCoordinates
) -> 'DatedSpecResolver'
Returns a date resolver for this spec, with the given Meridian model.
validate
View source
validate()
Overrides the Spec.validate() method to check that dates are valid.
__eq__
__eq__(
other
)
Return self==value.
Class Variables |
|
date_interval_tag
|
''
|
|
end_date
|
None
|
|
start_date
|
None
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-09 UTC."],[],[]]