/cts/tests/tests/app/src/android/app/cts/ |
TimePickerDialogTest.java | 32 private static final String MINUTE = "minute"; 57 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { 59 mCallbackMinute = minute; 73 assertEquals(TARGET_MINUTE, b.getInt(MINUTE)); 76 int minute = 13; local 78 mOnTimeSetListener, TARGET_HOUR, minute, false); 83 assertEquals(minute, b.getInt(MINUTE)); 95 final int minute = 34 local 109 int minute = 18; local 120 int minute = 27; local [all...] |
/external/icu4c/test/compat/ |
tzone.pl | 8 print "Usage: tzone [year month day hour minute]\n"; 22 my $minute = 0; 26 ($year, $month, $day, $hour, $minute) = @ARGV; 27 print "The date we are using is: $month-$day-$year $hour:$minute.\n"; 52 my @result = `./tzdate $year $month $day $hour $minute $USECURRENT`;
|
tzdate.c | 32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime); 39 int year, month, day, hour, minute; local 55 minute = atoi(argv[5]); 61 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime); 109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) { 123 ts.tm_min = minute;
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
Utils.java | 22 public static long createTimeInMillis(int second, int minute, int hour, int monthDay, 25 t.set(second, minute, hour, monthDay, month, year);
|
/frameworks/base/core/java/android/app/ |
TimePickerDialog.java | 48 * @param minute The minute that was set. 50 void onTimeSet(TimePicker view, int hourOfDay, int minute); 54 private static final String MINUTE = "minute"; 68 * @param minute The initial minute. 73 int hourOfDay, int minute, boolean is24HourView) { 74 this(context, 0, callBack, hourOfDay, minute, is24HourView); 82 * @param minute The initial minute 154 int minute = savedInstanceState.getInt(MINUTE); local [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 38 private final int minute;
field in class:DateTime 42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) {
44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
48 this.minute = minute;
69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) {
71 c.set(year, month - 1, day, hour, minute, second);
76 c.add(Calendar.MINUTE, -1 * minutes);
103 return minute;
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
DateWidgets2.java | 48 public void onTimeChanged(TimePicker view, int hourOfDay, int minute) { 49 updateDisplay(hourOfDay, minute); 54 private void updateDisplay(int hourOfDay, int minute) { 58 .append(pad(minute)));
|
/external/chromium/net/ftp/ |
ftp_directory_listing_parser_unittest.h | 28 int minute; member in struct:net::FtpDirectoryListingParserTest::SingleLineTestData 58 EXPECT_EQ(test_case.minute, time_exploded.minute); 69 mock_current_time_exploded.minute = 45;
|
ftp_directory_listing_parser_unittest.cc | 78 mock_current_time_exploded.minute = 45; 114 int year, month, day_of_month, hour, minute; local 119 base::StringToInt(lines[8 * i + 7], &minute); 142 EXPECT_EQ(minute, time_exploded.minute);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
SunCalculator.java | 83 int minute = (int) Math.round((time - hour) * 60); local 84 if (minute == 60) { 92 int minute = (int) Math.round((time - hour) * 60); local 93 if (minute == 60) { 94 minute = 0; 96 return minute; 101 int minute = (int) Math.round((time - hour) * 60); local 102 if (minute == 60) { 103 minute = 0; 106 return (hour * 60 + minute) / 1440.0f 112 int minute = (int) Math.round((time - hour) * 60); local [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
XMLGregorianCalendar.java | 105 * For a value of 24, the minute and second field must be zero per 109 * <a name="datetimefield-minute"/> 111 * <td> minute </td> 200 * int minute, 209 * int minute, 316 * @param minute value constraints are summarized in 317 * <a href="#datetimefield-minute">minute field of date/time field mapping table</a>. 327 public void setTime(int hour, int minute, int second) { 331 minute, [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPDateTimeImpl.java | 40 private int minute = 0; field in class:XMPDateTimeImpl 84 this.minute = intCalendar.get(Calendar.MINUTE); 106 this.minute = calendar.get(Calendar.MINUTE); 224 return minute; 231 public void setMinute(int minute) 233 this.minute = Math.min(Math.abs(minute), 59); 323 calendar.set(Calendar.MINUTE, minute) [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTime.java | 24 * <li> minute - The minute in the range 0..59. 26 * <li> minute - The time zone minute in the range 0..59. 61 /** @return Returns the minute in the range 0..59. */ 64 /** @param minute Sets the minute in the range 0..59. */ 65 void setMinute(int minute);
|
/frameworks/av/media/mtp/ |
MtpUtils.cpp | 32 hh is replaced by the hour (00-23), mm is replaced by the minute (00-59), and ss by the 37 int year, month, day, hour, minute, second; local 41 &year, &month, &day, &hour, &minute, &second) != 6) 55 tm.tm_min = minute;
|
/external/webkit/Source/WebCore/html/ |
DateComponents.cpp | 169 static bool withinHTMLDateLimits(int year, int month, int monthDay, int hour, int minute, int second, int millisecond) 182 return !hour && !minute && !second && !millisecond; 238 bool DateComponents::addMinute(int minute) 245 // minute can be negative or greater than 59. 246 minute += m_minute; 247 if (minute > 59) { 248 carry = minute / 60; 249 minute = minute % 60; 252 minute += carry * 60 308 int minute; local 420 int minute; local [all...] |
/libcore/luni/src/main/java/java/util/ |
Date.java | 94 * @param minute 95 * the minute of the hour, 0 - 59. 101 public Date(int year, int month, int day, int hour, int minute) { 103 cal.set(1900 + year, month, day, hour, minute); 119 * @param minute 120 * the minute of the hour, 0 - 59. 122 * the second of the minute, 0 - 59. 128 public Date(int year, int month, int day, int hour, int minute, int second) { 130 cal.set(1900 + year, month, day, hour, minute, second); 273 * Returns the gregorian calendar minute of the hour for this {@code Date} object 391 int hour = -1, minute = -1, second = -1, zoneOffset = 0, minutesOffset = 0; local [all...] |
TimeZone.java | 349 int minute = 0; local 353 minute = Integer.parseInt(m.group(3)); 359 if (hour < 0 || hour > 23 || minute < 0 || minute > 59) { 364 int raw = (hour * 3600000) + (minute * 60000); 369 String cleanId = String.format("GMT%c%02d:%02d", sign, hour, minute);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TimeTest.java | 38 assertEquals(t.minute, t2.minute); 53 assertEquals(t.minute, t2.minute); 74 assertEquals(t.minute, 1); 94 assertEquals(0, t.minute); 139 assertEquals(0, t.minute); 147 assertEquals(0, t.minute); 165 assertEquals(0, t.minute); 209 for (int minute = 0; minute < 60; minute += 15) [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
DateMath.h | 129 , minute(0) 143 , minute(inTm.tm_min) 174 ret.tm_min = minute; 196 minute = rhs.minute; 214 int minute; member in struct:JSC::GregorianDateTime
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPDate.java | 120 /** minute member 122 protected int minute; field in class:SIPDate 144 this.minute == other.minute && 157 minute = -1; 247 minute = javaCal.get(Calendar.MINUTE); 270 if (minute < 10) { 271 minuteString = "0" + minute; 273 minuteString = "" + minute; [all...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
DateConversion.cpp | 93 t.hour, t.minute, t.second, 97 t.hour, t.minute, t.second, 104 snprintf(buffer, DateConversionBufferSize, "%02d:%02d:%02d GMT", t.hour, t.minute, t.second);
|
/external/chromium/base/ |
time_mac.cc | 67 date.minute = exploded.minute; 94 exploded->minute = date.minute;
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
TimeTest.java | 36 // + ' ' + t.hour + ':' + t.minute 192 || local.minute != test.minute2) { 196 local.year, local.month, local.monthDay, local.hour, local.minute); 210 || local.minute != test.minute2) { 214 local.year, local.month, local.monthDay, local.hour, local.minute); 229 local.minute += test.offset; 233 || local.minute != test.minute2 || local.isDst != test.dst2) { 238 local.year, local.month, local.monthDay, local.hour, local.minute, 241 "minute test index " + index + ", normalize(): expected local " + expectedTime 250 local.minute += test.offset [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmUtils.java | 54 public static void popAlarmSetToast(Context context, int hour, int minute, 57 Alarms.calculateAlarm(hour, minute, daysOfWeek)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
videotext.h | 88 int minute; /* requested minute (hexadecimal) */ member in struct:__anon26710 109 int minute; /* minute (hexadecimal) */ member in struct:__anon26711
|