Searched refs:is_in_range (Results 1 – 1 of 1) sorted by relevance
/external/libchrome/base/time/ |
D | time.cc | 336 inline bool is_in_range(int value, int lo, int hi) { in is_in_range() function 341 return is_in_range(month, 1, 12) && in HasValidValues() 342 is_in_range(day_of_week, 0, 6) && in HasValidValues() 343 is_in_range(day_of_month, 1, 31) && in HasValidValues() 344 is_in_range(hour, 0, 23) && in HasValidValues() 345 is_in_range(minute, 0, 59) && in HasValidValues() 346 is_in_range(second, 0, 60) && in HasValidValues() 347 is_in_range(millisecond, 0, 999); in HasValidValues()
|