Skip to main content
Version: Python

calendar_names

The calendar_names method returns the names of all available calendars.

Syntax

calendar.calendar_names() -> list[str]

Parameters

This method takes no arguments.

Returns

The names of all available calendars.

Examples

The following example imports the calendar module and then prints the result of calendar_names.

from deephaven.calendar import calendar_names

print(calendar_names())