WeeklyFourier.get_default_start_date#
- WeeklyFourier.get_default_start_date(start_date=None)#
Get the start date for the Fourier curve.
If
start_dateis provided, validate its type. Otherwise, provide the default start date based on the subclass implementation.- Parameters:
- start_date
strordatetime.datetime, optional Provided start date. Can be a string or a datetime object.
- start_date
- Returns:
strordatetime.datetimeThe validated start date.
- Raises:
TypeErrorIf
start_dateis neither a string nor a datetime object.