HomeSort by relevance Sort by last modified time
    Searched refs:day (Results 176 - 200 of 853) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/icu/icu4c/source/i18n/
reldtfmt.h 258 int32_t fDayMin; // day id of lowest #
259 int32_t fDayMax; // day id of highest #
271 * @param day day offset ( -1, 0, 1, etc.. )
275 const UChar *getStringForDay(int32_t day, int32_t &len, UErrorCode &status) const;
indiancal.cpp 135 * Returns the Julian Day corresponding to gregorian date
139 * @param date The date in Gregorian day in month
157 * Returns the Gregorian Date corresponding to a given Julian Day
158 * @param jd The Julian Day
162 int32_t year, month, day; local
182 day = (int32_t)(wjd - gregorianToJD(year, month, 1)) + 1;
186 gregorianDate[2] = day;
288 * calendar equivalents for the given Julian day.
293 int32_t gregorianYear; // Stores gregorian date corresponding to Julian day;
296 gregorianYear = jdToGregorian(julianDay, gd)[0]; // Gregorian date for Julian day
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
CompatibilityTest.java 110 * (first day of week, minimal days in first week).
205 " (" + ((float)delta/ONE_DAY) + " day delta) => " +
226 " (" + ((float)delta/ONE_DAY) + " day delta) => " +
477 if (dow < min || dow > max) errln("FAIL: Day of week " + dow + " out of range");
479 errln("FAIL2: Day of week should be SUNDAY; is " + dow + ": " + cal.getTime());
525 verify765("1997 third day of June = ", c, 1997, Calendar.JUNE, 3);
607 void verify765(String msg, Calendar c, int year, int month, int day) {
613 cd == day) {
620 year + "/" + (month+1) + "/" + day);
763 private int day; field in class:CompatibilityTest.TransitionItem
    [all...]
CalendarTest.java 139 * <li>2: day
144 * <li>7: day
149 * // year month day field amount year month day
217 * sense to test the day fields; the time fields are not tested by this
350 * This method assumes day of week cycle is consistent.
370 // Day of year
393 // Day of week in month
415 * Convert year,month,day values to the form "year/month/day"
426 double day = getJulianDay(cal); local
    [all...]
  /external/libxml2/include/libxml/
nanoftp.h 53 * @day: the day
58 * Note that only one of year and day:minute are specified.
64 const char *month, int day, int hour,
  /external/pdfium/xfa/src/fwl/src/basewidget/include/
fwl_monthcalendarimp.h 118 _DATE(int32_t year, int32_t month, int32_t day)
119 : iYear(year), iMonth(month), iDay(day) {}
216 _DATEINFO(int32_t day,
221 : iDay(day),
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
TimeTest.java 203 // This is the Julian day for 12am for this day of the year
206 // Change the time during the day and check that we get the same
207 // Julian day.
212 int day = Time.getJulianDay(millis, time.gmtoff); local
214 assertEquals(day, julianDay);
234 int day = Time.getJulianDay(millis, time.gmtoff); local
236 assertEquals(day, julianDay);
  /external/skia/platform_tools/android/tradefed/
upload_dm_results.py 53 # /dm-json-v1/year/month/day/hour/build-number/builder/dm.json
58 str(now.day ).zfill(2),
  /external/wpa_supplicant_8/src/utils/
os_none.c 35 int os_mktime(int year, int month, int day, int hour, int min, int sec,
  /frameworks/base/core/java/android/widget/
DatePicker.java 41 * set to {@code spinner}, the date can be selected using year, month, and day
48 * set to {@code calendar}, the month and day can be selected using a
95 * @param dayOfMonth The day of the month that was set.
153 * @param dayOfMonth The initial day of the month.
167 * @param dayOfMonth The day of the month.
188 * @return The selected day of month.
293 * Sets the first day of week.
295 * @param firstDayOfWeek The first day of the week conforming to the
315 * Gets the first day of week.
317 * @return The first day of the week conforming to the {@link CalendarView
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/month/
MonthWeekEventsView.java 116 // events being drawn on each day. The code will expand this if necessary.
255 // divided up by day for generating the large month version and the full
290 for (int day = 0; day < numDays; day++) {
291 mDayXs[day] = computeDayLeftPosition(day) + DNA_WIDTH / 2 + DNA_SIDE_PADDING;
574 // Computes the x position for the left side of the given day
575 private int computeDayLeftPosition(int day) {
583 x = day * effectiveWidth / mNumDays + xOffset
725 int day = -1; local
1036 int day = mFirstJulianDay + dayPosition; local
    [all...]
SimpleWeekView.java 44 * display the week number, start the week on a given day, or show a reduced
72 * Which day the week should start on. {@link Time#SUNDAY} through
124 // The Julian day of the first day displayed by this item
126 // The month of the first day in this week
128 // The month of the last day in this week
139 // If this view contains the selected day
143 // Which day is selected [0-6] or -1 if no day is selected
145 // Which day is today [0-6] or -1 if no day is toda
375 int day = mFirstJulianDay + dayPosition; local
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
BaseHTTPServer.py 53 # | DD: Day
468 year, month, day, hh, mm, ss, wd, y, z = time.gmtime(timestamp)
471 day, self.monthname[month], year,
478 year, month, day, hh, mm, ss, x, y, z = time.localtime(now)
480 day, self.monthname[month], year, hh, mm, ss)
  /prebuilts/gdb/linux-x86/lib/python2.7/
BaseHTTPServer.py 53 # | DD: Day
468 year, month, day, hh, mm, ss, wd, y, z = time.gmtime(timestamp)
471 day, self.monthname[month], year,
478 year, month, day, hh, mm, ss, x, y, z = time.localtime(now)
480 day, self.monthname[month], year, hh, mm, ss)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
BaseHTTPServer.py 53 # | DD: Day
468 year, month, day, hh, mm, ss, wd, y, z = time.gmtime(timestamp)
471 day, self.monthname[month], year,
478 year, month, day, hh, mm, ss, x, y, z = time.localtime(now)
480 day, self.monthname[month], year, hh, mm, ss)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
BaseHTTPServer.py 53 # | DD: Day
468 year, month, day, hh, mm, ss, wd, y, z = time.gmtime(timestamp)
471 day, self.monthname[month], year,
478 year, month, day, hh, mm, ss, x, y, z = time.localtime(now)
480 day, self.monthname[month], year, hh, mm, ss)
  /bionic/libc/tzcode/
strptime.c 48 const char *day[7]; member in struct:__anon1151
206 case 'A': /* The day of week, using the locale's form. */
211 len = strlen(_ctloc(day[i]));
212 if (strncasecmp(_ctloc(day[i]), (const char*)bp, len) == 0)
261 case 'd': /* The day of month. */
286 case 'j': /* The day of year. */
353 case 'w': /* The day of week, beginning on sunday. */
  /external/icu/android_icu4j/src/main/java/android/icu/util/
IndianCalendar.java 333 int[] gregorianDay; // Stores gregorian date corresponding to Julian day;
335 gregorianDay = jdToGregorian(julianDay); // Gregorian date for Julian day
338 yday = (int)(julianDay - jdAtStartOfGregYear); // Day number in Gregorian year (starting from 0)
341 // Day is at the end of the preceding Saka year
495 * This routine converts a julian day (jd) to the corresponding date in Gregorian calendar"
501 int year, month, day; local
525 day = (int)(wjd - gregorianToJD(year, month, 1)) + 1;
531 julianDate[2] = day;
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
IndianCalendar.java 360 int[] gregorianDay; // Stores gregorian date corresponding to Julian day;
362 gregorianDay = jdToGregorian(julianDay); // Gregorian date for Julian day
365 yday = (int)(julianDay - jdAtStartOfGregYear); // Day number in Gregorian year (starting from 0)
368 // Day is at the end of the preceding Saka year
524 * This routine converts a julian day (jd) to the corresponding date in Gregorian calendar"
530 int year, month, day; local
554 day = (int)(wjd - gregorianToJD(year, month, 1)) + 1;
560 julianDate[2] = day;
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
DatePicker.java 59 * of the fields Year, Month and Day to be displayed in the DatePicker.
69 * of the fields Year, Month and Day to be displayed in the DatePicker.
173 protected boolean setDate(int year, int month, int day) {
180 GregorianCalendar cal = new GregorianCalendar(year, month, day);
193 updateSelection(mColDayIndex, day - 1);
  /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(d.getMonth(),6))}if(step>=timeUnitSize.year){d.setMonth(0)}var carry=0;var v=Number.NaN;var prev;do{prev=v;v=d.getTime();ticks.push(v);if(unit=="month"||unit=="quarter"){if(tickSize<1){d.setDate(1);var start=d.getTime();d.setMonth(d.getMonth()+(unit=="quarter"?3:1));var end=d.getTime();d.setTime(v+carry*timeUnitSize.hour+(end-start)*tickSize);carry=d.getHours();d.setHours(0)}else{d.setMonth(d.getMonth()+tickSize*(unit=="quarter"?3:1))}}else if(unit=="year"){d.setFullYear(d.getFullYear()+tickSize)}else{d.setTime(v+step)}}while(v<axis.max&&v!=prev);return ticks};axis.tickFormatter=function(v,axis){var d=dateGenerator(v,axis.options);if(opts.timeformat!=null){return formatDate(d,opts.timeformat,opts.monthNames,opts.dayNames)}var useQuarters=axis.options.tickSize&&axis.options.tickSize[1]=="quarter"||axis.options.minTickSize&&axis.options.minTickSize[1]=="quarter";var t=axis.tickSize[0]*timeUnitSize[axis.tickSize[1]];var span=axis.max-axis.min;var suffix=opts.twelveHourClock?" %p":"";var hourCode=opts.twelveHourClock?"%I":"%H";var fmt;if(t<timeUnitSize.minute){fmt=hourCode+":%M:%S"+suffix}else if(t<timeUnitSize.day){if(span<2*timeUnitSize.day){fmt=hourCode+":%M"+suffix}else{fmt="%b %d "+hourCode+":%M"+suffix}}else if(t<timeUnitSize.month){ (…)
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
CalendarTest.java 143 * <li>2: day
148 * <li>7: day
153 * // year month day field amount year month day
221 * sense to test the day fields; the time fields are not tested by this
354 * This method assumes day of week cycle is consistent.
374 // Day of year
397 // Day of week in month
419 * Convert year,month,day values to the form "year/month/day"
430 double day = getJulianDay(cal); local
    [all...]
  /external/pdfium/xfa/src/fgas/include/
fx_datetime.h 61 uint8_t day,
166 uint8_t day; member in struct:_FX_DATE
186 uint8_t day; member in struct:_FX_DATETIME::__anon23157::__anon23158
208 uint8_t day; member in struct:_FX_DATETIMEZONE::__anon23161::__anon23162::__anon23163::__anon23164
272 uint8_t day,
  /frameworks/base/core/java/android/text/style/
TtsSpan.java 330 * Argument used to specify the day of the month of a date. The value should
334 public static final String ARG_DAY = "android.arg.day";
    [all...]
  /external/icu/icu4c/source/test/intltest/
tzregts.cpp 117 min += (UDate)24*60*60*1000; // one day
202 * day of onset 1:59 AM STD = display name 1:59 AM ST
204 * day of end 0:59 AM STD = display name 1:59 AM DT
358 // the MILLSECOND field; you need to pass in the millis in the day in STANDARD
447 * in the MILLIS field, instead of the STANDARD MILLIS IN DAY.
472 int32_t day = cal->get(UCAL_DATE, status); local
481 int32_t offset = tz->getOffset((uint8_t)era, year, month, day, (uint8_t)dayOfWeek, millis, status);
625 int32_t day = DATA[i+2]; local
633 zone->setStartRule(month, day, dayOfWeek, time, status);
638 errln(UnicodeString("setStartRule(month=") + month + ", day=" + day
    [all...]

Completed in 1688 milliseconds

1 2 3 4 5 6 78 91011>>