| 
    KiCad PCB EDA Suite
    
   | 
 
Static Public Member Functions | |
| static auto | DaysToYmd (int aDaysSinceEpoch) -> std::tuple< int, int, int > | 
| static auto | YmdToDays (int aYear, int aMonth, int aDay) -> int | 
| static auto | ParseDate (const std::string &aDateStr) -> std::optional< int > | 
| static auto | FormatDate (int aDaysSinceEpoch, const std::string &aFormat) -> std::string | 
| static auto | GetWeekdayName (int aDaysSinceEpoch) -> std::string | 
| static auto | GetCurrentDays () -> int | 
| static auto | GetCurrentTimestamp () -> double | 
Static Private Member Functions | |
| static auto | isLeapYear (int aYear) -> bool | 
| static auto | daysInYear (int aYear) -> int | 
| static auto | daysInMonthForYear (int aMonth, int aYear) -> int | 
Static Private Attributes | |
| static constexpr int | epochYear = 1970 | 
| static constexpr std::array< int, 12 > | daysInMonth = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31} | 
| static constexpr std::array< const char *, 12 > | monthNames | 
| static constexpr std::array< const char *, 12 > | monthAbbrev | 
| static constexpr std::array< const char *, 7 > | weekdayNames | 
Definition at line 30 of file text_eval_parser.cpp.
      
  | 
  inlinestaticprivate | 
Definition at line 57 of file text_eval_parser.cpp.
References daysInMonth, and isLeapYear().
Referenced by DaysToYmd(), ParseDate(), and YmdToDays().
      
  | 
  inlinestaticprivate | 
Definition at line 52 of file text_eval_parser.cpp.
References isLeapYear().
Referenced by DaysToYmd(), and YmdToDays().
      
  | 
  inlinestatic | 
Definition at line 66 of file text_eval_parser.cpp.
References daysInMonthForYear(), daysInYear(), and epochYear.
Referenced by FormatDate().
      
  | 
  inlinestatic | 
Definition at line 274 of file text_eval_parser.cpp.
References DaysToYmd(), monthAbbrev, and monthNames.
Referenced by calc_parser::EVAL_VISITOR::evaluateFunction().
      
  | 
  inlinestatic | 
Definition at line 308 of file text_eval_parser.cpp.
Referenced by calc_parser::EVAL_VISITOR::evaluateFunction().
      
  | 
  inlinestatic | 
Definition at line 315 of file text_eval_parser.cpp.
Referenced by calc_parser::EVAL_VISITOR::evaluateFunction().
      
  | 
  inlinestatic | 
Definition at line 298 of file text_eval_parser.cpp.
References weekdayNames.
Referenced by calc_parser::EVAL_VISITOR::evaluateFunction().
      
  | 
  inlinestaticprivate | 
Definition at line 47 of file text_eval_parser.cpp.
Referenced by daysInMonthForYear(), and daysInYear().
      
  | 
  inlinestatic | 
Definition at line 121 of file text_eval_parser.cpp.
References daysInMonthForYear(), and YmdToDays().
Referenced by calc_parser::EVAL_VISITOR::evaluateFunction().
      
  | 
  inlinestatic | 
Definition at line 99 of file text_eval_parser.cpp.
References daysInMonthForYear(), daysInYear(), and epochYear.
Referenced by ParseDate().
      
  | 
  staticconstexprprivate | 
Definition at line 34 of file text_eval_parser.cpp.
Referenced by daysInMonthForYear().
      
  | 
  staticconstexprprivate | 
Definition at line 33 of file text_eval_parser.cpp.
Referenced by DaysToYmd(), and YmdToDays().
      
  | 
  staticconstexprprivate | 
Definition at line 39 of file text_eval_parser.cpp.
Referenced by FormatDate().
      
  | 
  staticconstexprprivate | 
Definition at line 35 of file text_eval_parser.cpp.
Referenced by FormatDate().
      
  | 
  staticconstexprprivate | 
Definition at line 43 of file text_eval_parser.cpp.
Referenced by GetWeekdayName().