string_cy_conversion#

static EdgarHelpers.string_cy_conversion(period)[source]#

Helper method to convert a reporting period string in YYYY-MM-DD format to CY####Q# format.

Parameters:

period (str) – The reporting period in ‘YYYY-MM-DD’ format.

Returns:

The reporting period in ‘CY####Q#’ format.

Return type:

str