Home | History | Annotate | Download | only in deskclock

Lines Matching refs:hours

147     // 2. hide the hours digits when it is not relevant
151 // Hide digit by passing -2 (for highest hours digit only);
156 // If the user entered 3 to 9 or 24 to 25 , there is no need for a 4th digit (24 hours mode)
158 // Test to see if the highest digit is 2 to 9 for AM/PM or 3 to 9 for 24 hours mode
166 // Test to see if the 2 highest digits are 13 to 15 for AM/PM or 24 to 25 for 24 hours
236 // mode and "30" is 24 hours mode.
261 // For 24 hours mode , can add "00"/"30" if an hour between 0 and 23 was entered
474 int hours = mInput[3] * 10 + mInput[2];
475 if (hours == 12) {
482 return hours;
487 return hours + (mAmPmState == PM_SELECTED ? 12 : 0);