Searched refs:day_of_week_str (Results 1 – 1 of 1) sorted by relevance
105 int ConvertDayOfWeekStringToInt(const std::string& day_of_week_str) { in ConvertDayOfWeekStringToInt() argument106 if (day_of_week_str == "Sunday") return 0; in ConvertDayOfWeekStringToInt()107 if (day_of_week_str == "Monday") return 1; in ConvertDayOfWeekStringToInt()108 if (day_of_week_str == "Tuesday") return 2; in ConvertDayOfWeekStringToInt()109 if (day_of_week_str == "Wednesday") return 3; in ConvertDayOfWeekStringToInt()110 if (day_of_week_str == "Thursday") return 4; in ConvertDayOfWeekStringToInt()111 if (day_of_week_str == "Friday") return 5; in ConvertDayOfWeekStringToInt()112 if (day_of_week_str == "Saturday") return 6; in ConvertDayOfWeekStringToInt()119 std::string day_of_week_str; in DecodeWeeklyTimeFromValue() local120 if (!dict_value.GetString("day_of_week", &day_of_week_str)) { in DecodeWeeklyTimeFromValue()[all …]