Searched defs:day (Results 1 - 25 of 101) sorted by relevance

12345

/external/icu4c/test/intltest/
H A Dcalcasts.h8 * conversion between julian-day to fields and vice versa.
32 int32_t day; member in struct:CalendarCaseTest::TestCase
/external/chromium/net/ftp/
H A Dftp_util_unittest.cc115 const char* day; member in struct:__anon2900::__anon2904
158 kTestCases[i].month, kTestCases[i].day,
163 UTF8ToUTF16(kTestCases[i].month), UTF8ToUTF16(kTestCases[i].day),
H A Dftp_util.cc158 bool FtpUtil::LsDateListingToTime(const string16& month, const string16& day, argument
167 if (!base::StringToInt(day, &time_exploded.day_of_month))
/external/chromium/chrome/browser/extensions/
H A Dconvert_web_app_unittest.cc64 base::Time GetTestTime(int year, int month, int day, int hour, int minute, argument
69 exploded.day_of_month = day;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/publishingFiles/dropSiteRootFiles/
H A Dindex.php74 $day = substr($timePart, 6, 2); variable
77 $timeStamp = mktime($hour, $minute, 0, $month, $day, $year);
/external/icu4c/i18n/
H A Dcecal.cpp124 + ClockMath::floorDivide(year, 4) // extra day of leap year
131 CECalendar::jdToCE(int32_t julianDay, int32_t jdEpochOffset, int32_t& year, int32_t& month, int32_t& day) argument
143 day = (doy % 30) + 1; // 1-based days in a month
H A Dcoptccal.cpp78 int32_t eyear, month, day, era, year; local
79 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day);
93 internalSet(UCAL_DATE, day);
94 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day);
169 CopticCalendar::copticToJD(int32_t year, int32_t month, int32_t day)
171 return CECalendar::ceToJD(year, month, day, COPTIC_JD_EPOCH_OFFSET);
H A Dethpccal.cpp104 int32_t eyear, month, day, era, year; local
105 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day);
124 internalSet(UCAL_DATE, day);
125 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day);
H A Dgregoimp.cpp93 return julian - JULIAN_1970_CE; // JD => epoch day
96 void Grego::dayToFields(double day, int32_t& year, int32_t& month, argument
100 day += JULIAN_1970_CE - JULIAN_1_CE;
102 // Convert from the day number to the multiple radix
104 // For example, the 4-year cycle has 4 years + 1 leap day; giving
106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length
119 // Gregorian day zero is a Monday.
120 dow = (int32_t) uprv_fmod(day + 1, 7);
137 double day = ClockMath::floorDivide((double)time, (double)U_MILLIS_PER_DAY, millisInDay); local
139 dayToFields(day, yea
142 dayOfWeek(double day) argument
[all...]
H A Dgregoimp.h100 #define kEarliestViableMillis -185331720384000000.0 // minimum representable by julian day -1e17
102 #define kLatestViableMillis 185753453990400000.0 // max representable by julian day +1e17
105 * The minimum supported Julian day. This value is equivalent to
117 * The maximum supported Julian day. This value is equivalent to
161 * Convert a year, month, and day-of-month, given in the proleptic
165 * @param dom 1-based day of month
166 * @return the day number, with day 0 == Jan 1 1970
171 * Convert a 1970-epoch day number to proleptic Gregorian year,
172 * month, day
273 dayToFields(double day, int32_t& year, int32_t& month, int32_t& dom, int32_t& dow) argument
[all...]
H A Djapancal.cpp38 int8_t day; member in struct:__anon5872
344 int32_t day = 1; local
348 return kEraInfo[era].day;
352 return day;
412 diff,low, high, i, kEraInfo[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UCAL_DATE),year);
424 diff = internalGet(UCAL_DATE) - kEraInfo[i].day;
516 int32_t nextEraDate = kEraInfo[era + 1].day;
H A Dpersncal.cpp26 jalali_to_julian(int year, int month, int day) argument
82 daysNo += day;
89 int year=0, month=0, day=0,scalarDays=0; local
167 day = daysNo;
169 *h_d = day;
271 * Return the day # on which the given year starts. Days are counted
279 * Return the day # on which the given month starts. Days are counted
352 * calendar equivalents for the given Julian day.
H A Dreldtfmt.cpp237 const UChar *RelativeDateFormat::getStringForDay(int32_t day, int32_t &len, UErrorCode &status) const { argument
243 if(day < fDayMin || day > fDayMax) {
249 if(fDates[n].offset == day) {
392 UResourceBundle *strings = calData.getByKey3("fields", "day", "relative", status);
470 // For the day difference, we are interested in the difference in the (modified) julian day number
H A Dvzone.cpp117 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, argument
119 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status);
123 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, argument
126 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);
/external/icu4c/test/compat/
H A Dtzdate.c32 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
44 sysyear = year = month = day = 0;
53 day = atoi(argv[3]);
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) { argument
121 ts.tm_mday = day;
/external/v8/src/
H A Ddateparser.cc44 int day = kNone; local
51 day = comp_[2];
55 day = comp_[1];
62 day = comp_[0];
66 day = comp_[1];
69 day = comp_[0];
79 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false;
83 output->set(DAY, Smi::FromInt(day));
H A Ddateparser-inl.h45 DayComposer day; local
60 // end of a day,
95 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz);
97 bool has_read_number = !day.IsEmpty();
134 if (!day.Add(n)) return false;
144 day.SetNamedMonth(value);
178 return day.Write(out) && time.Write(out) && tz.Write(out);
219 DayComposer* day,
222 ASSERT(day->IsEmpty());
235 day
217 ParseES5DateTime( DateStringTokenizer<Char>* scanner, DayComposer* day, TimeComposer* time, TimeZoneComposer* tz) argument
[all...]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
H A DXMPDateTimeFactory.java57 * @param day days
64 public static XMPDateTime create(int year, int month, int day, argument
70 dt.setDay(day);
H A DXMPDateTime.java23 * <li> day - The day of the month in the range 1..31.
33 * fields (year, month, and day).
49 /** @return Returns the day of the month in the range 1..31. */
52 /** @param day Sets the day 1..31 */
53 void setDay(int day); argument
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DXMPDateTimeImpl.java36 private int day = 0; field in class:XMPDateTimeImpl
82 this.day = intCalendar.get(Calendar.DAY_OF_MONTH);
104 this.day = calendar.get(Calendar.DAY_OF_MONTH);
177 return day;
184 public void setDay(int day) argument
186 if (day < 1)
188 this.day = 1;
190 else if (day > 31)
192 this.day = 31;
196 this.day
[all...]
/external/chromium/chrome/browser/ui/webui/
H A Dhistory2_ui.cc154 int day = 0; local
155 ExtractIntegerValue(args, &day);
160 options.begin_time -= base::TimeDelta::FromDays(day);
162 options.end_time -= base::TimeDelta::FromDays(day - 1);
206 // Get day to delete data from.
265 // and snippet, browse results need day and time information).
350 // first day of the following month.
H A Dhistory_ui.cc154 int day = 0; local
155 ExtractIntegerValue(args, &day);
160 options.begin_time -= base::TimeDelta::FromDays(day);
162 options.end_time -= base::TimeDelta::FromDays(day - 1);
206 // Get day to delete data from.
265 // and snippet, browse results need day and time information).
338 // first day of the following month.
/external/icu4c/test/cintltst/
H A Dutmstest.c351 int32_t day; member in struct:DotNetDateTimeTicks
362 /* year, month, day, ticks */
444 const int32_t dayMillis = 86400 * INT64_C(1000); /* 1 day = 86400 seconds */
467 ucal_setDate(cal, dt->year, dt->month - 1, dt->day, &errorCode); /* Java & ICU use January = month 0. */
472 (int)i, (int)(millis/dayMillis), (int)(icuDate/dayMillis), (int)dt->year, (int)dt->month, (int)dt->day);
480 (int)i, (int)(ticks/dayTicks), (int)(dt->ticks/dayTicks), (int)dt->year, (int)dt->month, (int)dt->day);
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DSIPDate.java104 /** day member
106 protected int day; field in class:SIPDate
140 this.day == other.day &&
153 day = -1;
201 day = javaCal.get(Calendar.DAY_OF_MONTH);
258 if (day < 10) {
259 dayString = "0" + day;
261 dayString = "" + day;
362 if (day !
[all...]
/external/openssl/crypto/
H A Do_time.c179 short year, month, day, hour, minute, second, member in struct:vms_vectime
205 result->tm_mday = time_values.day;
243 /* split offset into days and day seconds */
250 /* Adjust day seconds if overflow */
262 /* Convert date of time structure into a Julian day number.
271 /* Work out Julian day of new date */
277 /* Convert Julian day back to date */
298 /* Convert date to and from julian day

Completed in 410 milliseconds

12345