Skip to content

DateInterval

Source code in docs_src/capo_support/types/date_interval.py
class DateInterval(TypedDict, closed=True):
    start_date_time: NotRequired[
        "capo_support.types.validated_date_time.ValidatedDateTime"
    ]
    """<p> A JSON object containing start and date time (UTC). Date and time format is RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'. </p>"""
    end_date_time: NotRequired[
        "capo_support.types.validated_date_time.ValidatedDateTime"
    ]
    """<p> End Date Time (UTC). RFC 3339 format : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'. </p>"""

end_date_time instance-attribute

end_date_time: NotRequired[ValidatedDateTime]

End Date Time (UTC). RFC 3339 format : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.

start_date_time instance-attribute

start_date_time: NotRequired[ValidatedDateTime]

A JSON object containing start and date time (UTC). Date and time format is RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.