ENUM
enum PeriodKind {CustomYearPreviousYearCurrentYearNextYear3LastWeekPreviousWeekCurrentWeekNextWeek2LastWeek4LastFinancialYearPreviousFinancialYearCurrentFinancialYearNextFinancialYearQuarter1FinancialYearQuarter2FinancialYearQuarter3FinancialYearQuarter4Quarter1Quarter2Quarter3Quarter4QuarterPreviousQuarterCurrentQuarterNextQuarterCurrentInPreviousYearQuarter4PreviousMonthPreviousMonthCurrentMonthNextMonthCurrentInPreviousYearMonth3LastTodayTomorrowYesterdayUpToTodayDays30PreviousDays30NextDays7NextDays14NextDays7PreviousAll}