/packages/apps/Calendar/src/com/android/calendar/ |
EventRecurrenceFormatter.java | 52 // There is no "BYDAY" specifier, so use the day of the 60 int day = EventRecurrence.timeDay2Day(recurrence.startDate.weekDay); local 61 return String.format(format, dayToString(day)); 75 * Converts day of week to a String. 76 * @param day a EventRecurrence constant 77 * @return day of week as a string 79 private static String dayToString(int day) { 80 return DateUtils.getDayOfWeekString(dayToUtilDay(day), DateUtils.LENGTH_LONG); 84 * Converts EventRecurrence's day of week to DateUtil's day of week [all...] |
AgendaByDayAdapter.java | 203 // If there are any multiple-day events that span the empty 204 // range of days, then create day headers and events for 205 // those multiple-day events. 219 // If this is the first event for the day, then 220 // insert a day header. 229 // If the day header was not added for the start day, then 252 // There are no more cursor events but we might still have multiple-day 253 // events left. So create day headers and events for those. 268 // If this is the first event for the day, the [all...] |
/external/clearsilver/cs/ |
test_first_last.cs | 8 <?cs each:day = Days ?> 9 <?cs var:day ?> 10 is_first: <?cs var:first(day) ?> 11 is_first: <?cs var:first(day.Abbr) ?> -> never 12 is_last: <?cs var:last(day) ?> 13 is_last: <?cs var:last(day.Abbr) ?> -> never
|
test3.cs | 2 <?cs def:Date._weekday(day,four) ?> 4 <?cs if:wday == day ?> 8 <?cs if:day == "6" ?> 10 <?cs elseif:day == "0" ?> 12 <?cs elseif:day == "1" ?> 14 <?cs elseif:day == "2" ?> 16 <?cs elseif:day == "3" ?> 18 <?cs elseif:day == "4" ?> 20 <?cs elseif:day == "5" ?> 77 <?cs each:day=Days ? [all...] |
/external/bluetooth/glib/tests/ |
testgdate.c | 39 d->day, 53 GDateDay day; local 94 TEST("Returned day is 1", g_date_get_day(d) == 1); 99 TEST("Bad day is invalid", !g_date_valid_day(G_DATE_BAD_DAY)); 100 TEST("Day 32 is invalid", !g_date_valid_day(32)); 133 TEST("GDate's \"Julian\" epoch's first day is valid", g_date_valid(d)); 194 day = 1; 198 while (day <= dim) 203 TEST("DMY triplet is valid", g_date_valid_dmy(day,m,y)); 207 d = &days[day-1] [all...] |
date-test.c | 43 GDateDay day; local 87 TEST("Returned day is 1", g_date_get_day(d) == 1); 92 TEST("Bad day is invalid", !g_date_valid_day(G_DATE_BAD_DAY)); 93 TEST("Day 32 is invalid", !g_date_valid_day(32)); 126 TEST("GDate's \"Julian\" epoch's first day is valid", g_date_valid(d)); 187 day = 1; 191 while (day <= dim) 196 TEST("DMY triplet is valid", g_date_valid_dmy(day,m,y)); 200 d = &days[day-1]; 202 TEST("Cleared day is invalid", !g_date_valid(d)) [all...] |
/frameworks/base/core/java/android/pim/ |
EventRecurrence.java | 99 public static int calendarDay2Day(int day) 101 switch (day) 118 throw new RuntimeException("bad day of week: " + day); 122 public static int timeDay2Day(int day) 124 switch (day) 141 throw new RuntimeException("bad day of week: " + day); 144 public static int day2TimeDay(int day) 146 switch (day) 338 int day = byday[i]; local [all...] |
/external/icu4c/i18n/unicode/ |
dtrule.h | 24 * a rule specified by month, day of month, day of week and 25 * time in the day. 37 DOM = 0, /**< The exact day of month, 39 DOW, /**< The Nth occurence of the day of week, 41 DOW_GEQ_DOM, /**< The first occurence of the day of week on or after the day of monnth, 43 DOW_LEQ_DOM /**< The last occurence of the day of week on or before the day of month, 58 * Constructs a <code>DateTimeRule</code> by the day of month an [all...] |
simpletz.h | 143 * day-of-week-in-month. See setStartRule() for a 145 * @param savingsStartDayOfWeek The daylight savings starting day-of-week. 151 * @param savingsEndDayOfWeekInMonth The daylight savings ending day-of-week-in-month. 153 * @param savingsEndDayOfWeek The daylight savings ending day-of-week. 184 * day-of-week-in-month. See setStartRule() for a 186 * @param savingsStartDayOfWeek The daylight savings starting day-of-week. 192 * @param savingsEndDayOfWeekInMonth The daylight savings ending day-of-week-in-month. 194 * @param savingsEndDayOfWeek The daylight savings ending day-of-week. 228 * day-of-week-in-month. See setStartRule() for a 230 * @param savingsStartDayOfWeek The daylight savings starting day-of-week [all...] |
/external/icu4c/i18n/ |
gregoimp.h | 100 #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-of-month, and day-of-week [all...] |
buddhcal.h | 159 * Return the Julian day number of day before the first day of the 164 * @param useMonth if false, compute the day before the first day of 165 * the given year, otherwise, compute the day before the first day of 167 * @param return the Julian day number of the day before the first 168 * day of the given month and yea [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/ |
jsref.js | 258 function Day( t ) { 338 var day = DayWithinYear( t ); 341 if ( (0 <= day) && (day < 31) ) { 344 if ( (31 <= day) && (day < (59+leap)) ) { 347 if ( ((59+leap) <= day) && (day < (90+leap)) ) { 350 if ( ((90+leap) <= day) && (day < (120+leap)) ) [all...] |
shell.js | 259 * year-month-day mode: dt = new Date(2000, 5, 1, ...); 275 // Use our date arithmetic functions to determine the local hour, day, etc. 277 ResultArray[DAY] = WeekDay(t); 288 // Use our date arithmetic functions to determine the UTC hour, day, etc. 299 function Day( t ) { 379 var day = DayWithinYear( t ); 382 if ( (0 <= day) && (day < 31) ) { 385 if ( (31 <= day) && (day < (59+leap)) ) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma_2/ |
jsref.js | 218 function Day( t ) { 298 var day = DayWithinYear( t ); 301 if ( (0 <= day) && (day < 31) ) { 304 if ( (31 <= day) && (day < (59+leap)) ) { 307 if ( ((59+leap) <= day) && (day < (90+leap)) ) { 310 if ( ((90+leap) <= day) && (day < (120+leap)) ) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Date/ |
shell.js | 251 function Day( t) 346 var day = DayWithinYear( t ); 350 if ( (0 <= day) && (day < 31) ) {return 0;} 351 if ( (31 <= day) && (day < (59+leap) )) {return 1;} 352 if ( ((59+leap) <= day) && (day < (90+leap) )) {return 2;} 353 if ( ((90+leap) <= day) && (day < (120+leap) )) {return 3; [all...] |
/packages/wallpapers/Basic/res/xml/ |
polar_clock_palettes.xml | 19 day="#FF999999" month="#FF777777" /> 25 day="#FF706080" month="#FF403050" /> 31 day="#FF00AA00" month="#FF006600" /> 37 day="#FF000000" month="#FF000000" /> 43 day="#FFDCA3A3" month="#FF7f9f7f" /> 49 day="#FF000033" month="#FF000011" />
|
/external/bluetooth/glib/docs/reference/glib/tmpl/ |
date.sgml | 9 The #GDate data structure represents a day between January 1, Year 1, 17 time information; it represents a <emphasis>day</emphasis>. 23 can keep both a Julian and day-month-year representation of the date, 26 fixed day in the past; for #GDate the fixed day is January 1, 1 AD. 39 <emphasis>invalid</emphasis>, meaning that it doesn't represent a day 50 struct.</emphasis> Often only the day-month-year or only the Julian 136 Represents a day between January 1, Year 1 and a few thousand years in 142 but sane. An invalid date doesn't represent a day, it's "empty." A 143 date becomes valid after you set it to a Julian day or you set a day [all...] |
/frameworks/base/core/java/android/util/ |
MonthDisplayHelper.java | 44 * @param weekStartDay What day of the week the week should start. 85 * @return The first day of the month using a constants such as 102 * box. For example, if the calendar is set to display the first day of 132 * @return The day at a particular row, column 140 int day = 7 * row + column - mOffset + 1; local 142 return (day > mNumDaysInMonth) ? 143 day - mNumDaysInMonth : day; 147 * @return Which row day is in. 149 public int getRowOf(int day) { 189 int day = 7 * row + column - mOffset + 1; local [all...] |
/external/icu4c/test/compat/ |
tzone.pl | 8 print "Usage: tzone [year month day hour minute]\n"; 20 my $day = 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 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) { 121 ts.tm_mday = day;
|
/frameworks/base/core/java/android/app/ |
DatePickerDialog.java | 44 private static final String DAY = "day"; 66 * @param dayOfMonth The day of the month that was set. 76 * @param dayOfMonth The initial day of the dialog. 93 * @param dayOfMonth The initial day of the dialog. 149 int month, int day) { 150 updateTitle(year, month, day); 160 private void updateTitle(int year, int month, int day) { 163 mCalendar.set(Calendar.DAY_OF_MONTH, day); 172 state.putInt(DAY, mDatePicker.getDayOfMonth()) 181 int day = savedInstanceState.getInt(DAY); local [all...] |
/external/icu4c/samples/cal/ |
cal.c | 131 /* use long day names */ 249 /* Determine the first day of the week */ 265 /* Determine the first day of the week */ 279 * (e.g. it will be one to fetch day names, since Sunday is 280 * day 1 *not* day 0.) 283 * the output array. This is used when fetching day names 328 /* Get the day names for the specified locale, in either long or short 409 /* Print the day names */ 424 int32_t width, pad, i, day; local [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 36 private final int day;
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);
46 this.day = day;
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);
95 return day;
|
/dalvik/libcore/luni/src/main/java/java/util/ |
SimpleTimeZone.java | 142 * By default, this constructor specifies day-of-week-in-month rules. That 148 * Day of month: To specify an exact day of the month, such as March 1, set 151 * Day of week after day of month: To specify the first day of the week 152 * occurring on or after an exact day of the month, make the day of the week 154 * this indicates the first Monday on or after the 5th day of the 157 * Day of week before day of month: To specify the last day of the wee [all...] |
/frameworks/base/services/java/com/android/server/ |
TwilightCalculator.java | 25 /** Value of {@link #mState} if it is currently day */ 26 public static final int DAY = 0; 50 * Time of sunset (civil twilight) in milliseconds or -1 in the case the day 57 * day or night never ends. 97 // The day or night never ends for the given date and location, if this value is out of 105 mState = DAY; 117 mState = DAY;
|