HomeSort by relevance Sort by last modified time
    Searched refs:months (Results 1 - 25 of 45) sorted by null

1 2

  /external/icu4c/test/perf/DateFmtPerf/
datedata.h 25 static int months[] = { variable
DateFmtPerf.h 184 cal->set(years[i], months[i], days[i]);
  /external/webkit/Source/WebCore/html/
MonthInputType.cpp 89 double months = date.monthsSinceEpoch(); local
90 ASSERT(isfinite(months));
91 return months;
124 double months = date.monthsSinceEpoch(); local
125 ASSERT(isfinite(months));
126 return months;
DateComponents.h 127 bool setMonthsSinceEpoch(double months);
133 // Returns the number of months from 1970-01.
DateComponents.cpp 50 static const int maximumMonthInMaximumYear = 8; // This is September, since months are 0 based.
588 bool DateComponents::setMonthsSinceEpoch(double months)
590 if (!isfinite(months))
592 months = round(months);
593 double doubleMonth = positiveFmod(months, 12);
594 double doubleYear = 1970 + (months - doubleMonth) / 12;
FTPDirectoryDocument.cpp 247 static const char* months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "???" }; local
256 dateString = makeString(months[month], ' ', String::number(fileTime.tm_mday), ", ", String::number(fileTime.tm_year));
258 dateString = makeString(months[month], ' ', String::number(fileTime.tm_mday), ", ", String::number(now.tm_year));
  /external/ppp/pppd/plugins/radius/
util.c 27 static const char * months[] = variable
40 if (strncmp (months[i], valstr, 3) == 0)
  /libcore/luni/src/main/java/java/text/
DateFormatSymbols.java 33 * months, the names of the days of the week, and the time zone data.
59 String[] ampms, eras, months, shortMonths, shortWeekdays, weekdays; field in class:DateFormatSymbols
111 this.months = localeData.longMonthNames;
195 Arrays.equals(months, rhs.months) &&
221 ",months=" + Arrays.toString(months) +
262 * Returns the array of strings containing the full names of the months. Use
269 return months.clone();
274 * months. Use the {@link java.util.Calendar} constant
    [all...]
SimpleDateFormat.java 726 String[] months; local
729 months = standAlone ? ld.longStandAloneMonthNames : formatData.months;
731 months = standAlone ? ld.tinyStandAloneMonthNames : ld.tinyMonthNames;
733 months = standAlone ? ld.shortStandAloneMonthNames : formatData.shortMonths;
735 buffer.append(months[month]);
    [all...]
  /external/icu4c/samples/cal/
cal.c 64 UChar *months [], UBool useLongNames,
67 static void free_months(UChar *months[]);
79 UChar *days [], UChar *months [],
89 /* Number of months in a year (yes, 13) */
92 /* Separation between months in year view */
168 /* Adjust because months are 0-based */
233 UChar *months [MONTH_COUNT]; local
253 print_year(c, days, months, useLongNames, fdow, status);
359 UChar *months [],
368 get_symbols(fmt, monthType, months, MONTH_COUNT - 1, 0, 0, status); /* some locales have 13 months, no idea why *
    [all...]
  /external/icu4c/i18n/
islamcal.cpp 53 // cache of months
408 // Guess at the number of elapsed full months since the epoch
409 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH);
411 startDate = uprv_floor(months * CalendarAstronomer::SYNODIC_MONTH);
420 months++;
425 while ((startDate = trueMonthStart(months)) > days) {
427 months--;
430 year = months / 12 + 1;
431 month = months % 12;
hebrwcal.cpp 66 * The lengths of the Hebrew months. This is complicated, because there
393 int32_t months = (235 * year - 234) / 19; // # of months before year local
395 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day #
396 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation
497 // Resolve out-of-range months. This is necessary in order to
559 double m = ((d * (double)DAY_PARTS)/ (double) MONTH_PARTS); // Months (approx)
627 // Resolve out-of-range months. This is necessary in order to
  /frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/common/helpers/
DatePickerHelper.java 172 String months[] = new String[] {"January", "February", "March", "April", "May", "June", local
175 for (int x = 0; x < months.length; x++) {
176 if (months[x].contains(monthName))
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DatePicker.java 116 String[] months = dfs.getShortMonths(); local
123 if (months[0].startsWith("1")) {
124 for (int i = 0; i < months.length; i++) {
125 months[i] = String.valueOf(i + 1);
132 mMonthPicker.setDisplayedValues(months);
190 reorderPickers(months);
205 private void reorderPickers(String[] months) {
216 if (months[0].startsWith("1")) {
  /packages/apps/Contacts/src/com/android/contacts/datepicker/
DatePicker.java 125 String[] months = dfs.getShortMonths(); local
132 if (months[0].startsWith("1")) {
133 for (int i = 0; i < months.length; i++) {
134 months[i] = String.valueOf(i + 1);
141 mMonthPicker.setDisplayedValues(months);
201 reorderPickers(months);
217 private void reorderPickers(String[] months) {
228 if (months[0].startsWith("1")) {
  /external/emma/lib/internal/
stamptool.jar 
  /libcore/luni/src/main/java/javax/xml/datatype/
DatatypeFactory.java 208 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
220 * @param months of this <code>Duration</code>
234 final BigInteger months,
242 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
249 * @param months of this <code>Duration</code>
262 * BigInteger months,
271 final int months,
280 // months may not be set
281 BigInteger realMonths = (months != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) months) : null
    [all...]
Duration.java 34 * which consists of six fields (years, months, days, hours,
159 boolean monthSet = isSet(DatatypeConstants.MONTHS);
234 * Obtains the value of the MONTHS field as an integer value,
238 * that this method works on the MONTHS field.
240 * @return Months of this <code>Duration</code>.
243 return getFieldValueAsInt(DatatypeConstants.MONTHS);
383 * In case of YEARS, MONTHS, DAYS, HOURS, and MINUTES, the returned
388 * one of the six Field constants (YEARS,MONTHS,DAYS,HOURS,
394 * For YEARS, MONTHS, DAYS, HOURS, and MINUTES, this method
406 * one of the six Field constants (YEARS,MONTHS,DAYS,HOURS
897 BigInteger months = (BigInteger) getField(DatatypeConstants.MONTHS); local
    [all...]
  /external/chromium/net/ftp/
ftp_util.cc 135 const icu::UnicodeString* months = local
147 if (months[month].caseCompare(0, 3, unicode_text, 0) == 0) {
  /external/icu4c/i18n/unicode/
dtfmtsym.h 245 * @param months the new month strings. (not adopted; caller retains ownership)
249 void setMonths(const UnicodeString* months, int32_t count);
302 * @param months The new month strings. (not adopted; caller retains ownership)
308 void setMonths(const UnicodeString* months, int32_t count, DtContextType context, DtWidthType width);
  /ndk/sources/cxx-stl/llvm-libc++/src/
locale.cpp 4407 static string months[24]; local
4439 static wstring months[24]; local
4471 static const string* months = init_months(); local
4479 static const wstring* months = init_wmonths(); local
    [all...]
  /libcore/luni/src/main/java/java/util/
Date.java 505 String[] weekdays = symbols.getWeekdays(), months = symbols local
509 } else if (month == -1 && (month = parse(text, months)) != -1) {/* empty */
  /external/icu4c/test/intltest/
tsdtfmsy.cpp 190 const UnicodeString *months = en.getMonths(count); local
191 fr.setMonths(months, count);
  /external/webkit/Source/JavaScriptCore/runtime/
DatePrototype.cpp 340 // Converts a list of arguments sent to a Date member function into years, months, and milliseconds, updating
343 // Format of member function: f([years,] [months,] [days])
360 // months
362 double months = exec->argument(idx++).toIntegerPreserveNaN(exec); local
363 ok = isfinite(months);
364 t->month = toInt32(months);
    [all...]
  /frameworks/base/core/java/android/text/format/
DateFormat.java 185 * where stand-alone months are necessary. Lengths are preserved where meaningful,

Completed in 688 milliseconds

1 2