calendar_name
The calendar_name
method returns the name of the default business calendar. Unless explicitly set, the default calendar is UTC
. The default calendar can be set with set_calendar
, or with the Calendar.default
configuration property.
Syntax
calendar_name() -> str
Parameters
This method takes no arguments.
Returns
A string.
Examples
The following example imports the calendar_name
method from Deephaven's calendar module and uses it to print the default calendar name.
from deephaven.calendar import calendar_name
print(calendar_name())
- Log