HomeSort by relevance Sort by last modified time
    Searched refs:month (Results 351 - 375 of 931) sorted by null

<<11121314151617181920>>

  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/
sigbase.py 33 month = int(what[4:6])
38 return calendar.timegm((year, month, day, hour, minute, second,
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/publishingFiles/dropSiteRootFiles/
index.php 73 $month = substr($timePart, 4, 2); variable
77 $timeStamp = mktime($hour, $minute, 0, $month, $day, $year);
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
JavaTimeZone.java 110 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) {
111 return javatz.getOffset(era, year, month, day, dayOfWeek, milliseconds);
  /external/icu/icu4c/source/i18n/unicode/
timezone.h 470 * @param month The reference date's month (0-based; 0 is January)
471 * @param day The reference date's day-in-month (1-based)
478 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
491 * @param month the month in the given date.
492 * Month is 0-based. e.g., 0 for January.
493 * @param day the day-in-month of the given date.
496 * @param monthLength the length of the given month in days.
501 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
JavaTimeZone.java 108 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) {
109 return javatz.getOffset(era, year, month, day, dayOfWeek, milliseconds);
  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
TimeZoneJDK.java 99 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) {
100 return fJdkTz.getOffset(era, year, month, day, dayOfWeek, milliseconds);
  /external/libchrome/base/metrics/
field_trial.h 369 // to the |total_probability|. Arguments |year|, |month| and |day_of_month|
380 const int month,
397 const int month,
  /external/libchrome/base/time/
time.cc 272 exploded.month,
338 return is_in_range(month, 1, 12) &&
  /external/libvncserver/utils/
git2cl.pl 45 my %month = (
80 push(@date,$6,$5,$4,$3,$month{$2},($7 - 1900),-1,-1,-1);
  /external/libweave/third_party/chromium/base/time/
time.cc 248 exploded.month,
306 return is_in_range(month, 1, 12) &&
time_posix.cc 184 exploded->month = timestruct.tm_mon + 1;
200 timestruct.tm_mon = exploded.month - 1;
  /frameworks/base/core/java/android/widget/
SimpleMonthView.java 57 * A calendar-like view displaying a specified month and the appropriate selectable day numbers
58 * within the specified month.
110 /** The day of month for the selected day, or -1 if no day is selected. */
114 * The day of month for today, or -1 if the today is not in the current
115 * month.
122 /** The number of days (ex. 28) in the current month. */
127 * month.
131 /** The day of month for the first (inclusive) enabled day. */
134 /** The day of month for the last (inclusive) enabled day. */
577 * if possible, or the first day of the month if not
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/
DatePickerFocusTest.java 202 // Move left to previous month (12/12/2015)
206 // Now make sure the start of the month works
212 // Now make sure the left key goes back to previous month (12/5/2015)
216 // Now go to a mismatched row (no such row on previous month)
229 private void assertDateIs(int month, final int day, final int year) throws Throwable {
230 final int monthInt = month - 1; // months are 0-based
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DateUtils.java 114 private static final Calendar getUtcDate(int year, int month, int dayOfMonth) {
118 calendar.set(Calendar.MONTH, month);
202 * determine whether the month field should be displayed before the day field, and returns
245 final int targetMonth = target.get(Calendar.MONTH);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
ChineseTest.java 108 int m = cal.get(Calendar.MONTH)+1; // 0-based -> 1-based
136 cal.set(Calendar.MONTH, cmonth-1);
154 * month zero. This was a problem with some of the astronomical
166 cal.get(Calendar.MONTH) +
206 // ** Millis->fields gives 0-based month -1
210 // Julian Day Era Year Month Leap DOM WkDay
277 // Wed May 23 2001 = Month 4(leap), Day 1, Year 18, Cycle 78
310 // (field, value)+, END, exp.month, exp.isLeapMonth, exp.DOM
311 // Note: exp.month is ONE-BASED
318 // If we set MONTH only, that should be use
368 int month = cal.get(Calendar.MONTH); local
    [all...]
  /external/icu/icu4c/source/test/intltest/
tsdtfmsy.cpp 41 const UnicodeString* month; local
46 month=symbol->getMonths(cnt);
52 logln(month[i]);
71 const UnicodeString * month = symbol->getMonths(cnt,context[i],width[j]); local
76 logln(month[k]);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
ChineseTest.java 104 int m = cal.get(Calendar.MONTH)+1; // 0-based -> 1-based
132 cal.set(Calendar.MONTH, cmonth-1);
150 * month zero. This was a problem with some of the astronomical
162 cal.get(Calendar.MONTH) +
202 // ** Millis->fields gives 0-based month -1
206 // Julian Day Era Year Month Leap DOM WkDay
273 // Wed May 23 2001 = Month 4(leap), Day 1, Year 18, Cycle 78
306 // (field, value)+, END, exp.month, exp.isLeapMonth, exp.DOM
307 // Note: exp.month is ONE-BASED
314 // If we set MONTH only, that should be use
364 int month = cal.get(Calendar.MONTH); local
    [all...]
  /external/wpa_supplicant_8/src/utils/
os_unix.c 125 int os_mktime(int year, int month, int day, int hour, int min, int sec,
132 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 ||
139 tm.tm_mon = month - 1;
177 tm->month = tm2->tm_mon + 1;
  /external/icu/icu4c/source/i18n/
rbtz.cpp 363 RuleBasedTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
368 if (month < UCAL_JANUARY || month > UCAL_DECEMBER) {
372 return getOffset(era, year, month, day, dayOfWeek, millis,
373 Grego::monthLength(year, month), status);
378 RuleBasedTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
390 UDate time = (UDate)Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY + millis;
  /external/webrtc/webrtc/base/
httpcommon.cc 347 char month[4], zone[6]; local
348 memset(month, 0, sizeof(month));
352 &tval.tm_mday, month, &tval.tm_year,
356 switch (toupper(month[2])) {
357 case 'N': tval.tm_mon = (month[1] == 'A') ? 0 : 5; break;
359 case 'R': tval.tm_mon = (month[0] == 'M') ? 2 : 3; break;
  /external/chromium-trace/catapult/third_party/flot/
jquery.flot.time.min.js 7 (function($){var options={xaxis:{timezone:null,timeformat:null,twelveHourClock:false,monthNames:null}};function floorInBase(n,base){return base*Math.floor(n/base)}function formatDate(d,fmt,monthNames,dayNames){if(typeof d.strftime=="function"){return d.strftime(fmt)}var leftPad=function(n,pad){n=""+n;pad=""+(pad==null?"0":pad);return n.length==1?pad+n:n};var r=[];var escape=false;var hours=d.getHours();var isAM=hours<12;if(monthNames==null){monthNames=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}if(dayNames==null){dayNames=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]}var hours12;if(hours>12){hours12=hours-12}else if(hours==0){hours12=12}else{hours12=hours}for(var i=0;i<fmt.length;++i){var c=fmt.charAt(i);if(escape){switch(c){case"a":c=""+dayNames[d.getDay()];break;case"b":c=""+monthNames[d.getMonth()];break;case"d":c=leftPad(d.getDate());break;case"e":c=leftPad(d.getDate()," ");break;case"h":case"H":c=leftPad(hours);break;case"I":c=leftPad(hours12);break;case"l":c=leftPad(hours12," ");break;case"m":c=leftPad(d.getMonth()+1);break;case"M":c=leftPad(d.getMinutes());break;case"q":c=""+(Math.floor(d.getMonth()/3)+1);break;case"S":c=leftPad(d.getSeconds());break;case"y":c=leftPad(d.getFullYear()%100);break;case"Y":c=""+d.getFullYear();break;case"p":c=isAM?""+"am":""+"pm";break;case"P":c=isAM?""+"AM":""+"PM";break;case"w":c=""+d.getDay();break}r.push(c);escape=false}else{if(c=="%"){escape=true}else{r.push(c)}}}return r.join("")}function makeUtcWrapper(d){function addProxyMethod(sourceObj,sourceMethod,targetObj,targetMethod){sourceObj[sourceMethod]=function(){return targetObj[targetMethod].apply(targetObj,arguments)}}var utc={date:d};if(d.strftime!=undefined){addProxyMethod(utc,"strftime",d,"strftime")}addProxyMethod(utc,"getTime",d,"getTime");addProxyMethod(utc,"setTime",d,"setTime");var props=["Date","Day","FullYear","Hours","Milliseconds","Minutes","Month","Seconds"];for(var p=0;p<props.length;p++){addProxyMethod(utc,"get"+props[p],d,"getUTC"+props[p]);addProxyMethod(utc,"set"+props[p],d,"setUTC"+props[p])}return utc}function dateGenerator(ts,opts){if(opts.timezone=="browser"){return new Date(ts)}else if(!opts.timezone||opts.timezone=="utc"){return makeUtcWrapper(new Date(ts))}else if(typeof timezoneJS!="undefined"&&typeof timezoneJS.Date!="undefined"){var d=new timezoneJS.Date;d.setTimezone(opts.timezone);d.setTime(ts);return d}else{return makeUtcWrapper(new Date(ts))}}var timeUnitSize={second:1e3,minute:60*1e3,hour:60*60*1e3,day:24*60*60*1e3,month:30*24*60*60*1e3,quarter:3*30*24*60*60*1e3,year:365.2425*24*60*60*1e3};var baseSpec=[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[.25,"month"],[.5,"month"],[1,"month"],[2,"month"]];var specMonths=baseSpec.concat([[3,"month"],[6,"month"],[1,"year"]]);var specQuarters=baseSpec.concat([[1,"quarter"],[2,"quarter"],[1,"year"]]);function init(plot){plot.hooks.processOptions.push(function(plot,options){$.each(plot.getAxes(),function(axisName,axis){var opts=axis.options;if(opts.mode=="time"){axis.tickGenerator=function(axis){var ticks=[];var d=dateGenerator(axis.min,opts);var minSize=0;var spec=opts.tickSize&&opts.tickSize[1]==="quarter"||opts.minTickSize&&opts.minTickSize[1]==="quarter"?specQuarters:specMonths;if(opts.minTickSize!=null){if(typeof opts.tickSize=="number"){minSize=opts.tickSize}else{minSize=opts.minTickSize[0]*timeUnitSize[opts.minTickSize[1]]}}for(var i=0;i<spec.length-1;++i){if(axis.delta<(spec[i][0]*timeUnitSize[spec[i][1]]+spec[i+1][0]*timeUnitSize[spec[i+1][1]])/2&&spec[i][0]*timeUnitSize[spec[i][1]]>=minSize){break}}var size=spec[i][0];var unit=spec[i][1];if(unit=="year"){if(opts.minTickSize!=null&&opts.minTickSize[1]=="year"){size=Math.floor(opts.minTickSize[0])}else{var magn=Math.pow(10,Math.floor(Math.log(axis.delta/timeUnitSize.year)/Math.LN10));var norm=axis.delta/timeUnitSize.year/magn;if(norm<1.5){size=1}else if(norm<3){size=2}else if(norm<7.5){size=5}else{size=10}size*=magn}if(size<1){size=1}}axis.tickSize=opts.tickSize||[size,unit];var tickSize=axis.tickSize[0];unit=axis.tickSize[1];var step=tickSize*timeUnitSize[unit];if(unit=="second"){d.setSeconds(floorInBase(d.getSeconds(),tickSize))}else if(unit=="minute"){d.setMinutes(floorInBase(d.getMinutes(),tickSize))}else if(unit=="hour"){d.setHours(floorInBase(d.getHours(),tickSize))}else if(unit=="month"){d.setMonth(floorInBase(d.getMonth(),tickSize))}else if(unit=="quarter"){d.setMonth(3*floorInBase(d.getMonth()/3,tickSize))}else if(unit=="year"){d.setFullYear(floorInBase(d.getFullYear(),tickSize))}d.setMilliseconds(0);if(step>=timeUnitSize.minute){d.setSeconds(0)}if(step>=timeUnitSize.hour){d.setMinutes(0)}if(step>=timeUnitSize.day){d.setHours(0)}if(step>=timeUnitSize.day*4){d.setDate(1)}if(step>=timeUnitSize.month*2){d.setMonth(floorInBase(d.getMonth(),3))}if(step>=timeUnitSize.quarter*2){d.setMonth(floorInBase (…)
    [all...]
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/
ICUZDump.java 165 public long getTime(int year, int month, int dayOfMonth, int hour, int minute, int second) {
171 cal.set(year, month, dayOfMonth, hour, minute, second);
177 cal.set(year, month, dayOfMonth, hour, minute, second);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DatePicker.java 41 * A view for selecting a month / year / day based on a calendar like layout.
79 * @param monthOfYear The month that was set (0-11) for compatibility
81 * @param dayOfMonth The day of the month that was set.
113 mMonthPicker = (NumberPicker) findViewById(R.id.month);
119 * If the user is in a locale where the month names are numeric,
120 * use just the number instead of the "month" character for
139 /* We display the month 1-12 but store it 0-11 so always
143 // Adjust max day of the month
187 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null);
249 } else if ((c == DateFormat.MONTH || c == 'L') && !didMonth)
    [all...]
  /toolchain/binutils/binutils-2.25/binutils/
nlmheader.y 191 version_hdr->month = nlmlex_get_number ($2);
197 if (version_hdr->month < 1 || version_hdr->month > 12)
198 nlmheader_warn (_("illegal month"), -1);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DateFormatTest.java 84 {DateFormat.MONTH, "MMMM", "en", "LLLL"},
420 DateFormat.Field.MONTH,
507 DateFormat.Field.MONTH, // M
531 DateFormat.Field.MONTH, // L
1665 int month, yr, day; local
1726 int year,month,day; local
4113 public int month; \/\/ here 1-based field in class:DateFormatTest.ChineseCalTestDate
4213 int month = rootChineseCalendar.get(Calendar.MONTH) + 1; local
4231 public int month; field in class:DateFormatTest.CalAndFmtTestItem
4329 int month = cal.get(Calendar.MONTH); local
    [all...]

Completed in 982 milliseconds

<<11121314151617181920>>