Searched refs:is_in_range (Results 1 – 1 of 1) sorted by relevance
/external/libchrome/base/time/ |
D | time.cc | 406 inline bool is_in_range(int value, int lo, int hi) { in is_in_range() function 411 return is_in_range(month, 1, 12) && in HasValidValues() 412 is_in_range(day_of_week, 0, 6) && in HasValidValues() 413 is_in_range(day_of_month, 1, 31) && in HasValidValues() 414 is_in_range(hour, 0, 23) && in HasValidValues() 415 is_in_range(minute, 0, 59) && in HasValidValues() 416 is_in_range(second, 0, 60) && in HasValidValues() 417 is_in_range(millisecond, 0, 999); in HasValidValues()
|