Searched refs:day_of_week_str (Results 1 – 1 of 1) sorted by relevance
111 int ConvertDayOfWeekStringToInt(const std::string& day_of_week_str) { in ConvertDayOfWeekStringToInt() argument112 if (day_of_week_str == "Sunday") return 0; in ConvertDayOfWeekStringToInt()113 if (day_of_week_str == "Monday") return 1; in ConvertDayOfWeekStringToInt()114 if (day_of_week_str == "Tuesday") return 2; in ConvertDayOfWeekStringToInt()115 if (day_of_week_str == "Wednesday") return 3; in ConvertDayOfWeekStringToInt()116 if (day_of_week_str == "Thursday") return 4; in ConvertDayOfWeekStringToInt()117 if (day_of_week_str == "Friday") return 5; in ConvertDayOfWeekStringToInt()118 if (day_of_week_str == "Saturday") return 6; in ConvertDayOfWeekStringToInt()125 std::string day_of_week_str; in DecodeWeeklyTimeFromValue() local126 if (!dict_value.GetString("day_of_week", &day_of_week_str)) { in DecodeWeeklyTimeFromValue()[all …]