call_report.core.Quarter#
- class call_report.core.Quarter(*values)[source]#
Bases:
IntEnumA calendar quarter, ordered Q1 (Jan-Mar) through Q4 (Oct-Dec).
Members compare and sort in calendar order, since the underlying values are simply 1 through 4.
Examples
>>> Quarter.Q1 < Quarter.Q4 True
- property first_month: int[source]#
Return the first calendar month of this quarter.
This is the month a quarter begins in, as a plain 1-12 integer.
- Returns:
- int
1, 4, 7, or 10.
Examples
>>> Quarter.Q2.first_month 4