/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
TimeUnitConstants.java | 24 /** Represents a week. */ 25 public static final TimeUnit WEEK = TimeUnit.WEEK;
|
TimeUnit.java | 42 /** Represents a week. */ 43 public static final TimeUnit WEEK = new TimeUnit("week", 2); 72 YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
TimeUnitConstants.java | 22 /** Represents a week. */ 23 public static final TimeUnit WEEK = TimeUnit.WEEK;
|
TimeUnit.java | 40 /** Represents a week. */ 41 public static final TimeUnit WEEK = new TimeUnit("week", 2); 70 YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
TimeUnit.java | 38 return new TimeUnit[] { SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR }; 58 return WEEK;
|
MeasureUnit.java | 602 * Constant for unit of duration: week 604 public static final TimeUnit WEEK = (TimeUnit) MeasureUnit.internalGetInstance("duration", "week"); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
TimeUnit.java | 40 return new TimeUnit[] { SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR }; 60 return WEEK;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
RelativeDateTimeFormatterTest.java | 50 {1.0, Direction.NEXT, RelativeUnit.WEEKS, "in 1 week"}, 79 {1.0, Direction.LAST, RelativeUnit.WEEKS, "1 week ago"}, 120 {1.0, Direction.NEXT, RelativeUnit.WEEKS, "In 1 week"}, 149 {1.0, Direction.LAST, RelativeUnit.WEEKS, "1 week ago"}, 365 {Direction.NEXT, AbsoluteUnit.WEEK, "next week"}, 379 {Direction.LAST, AbsoluteUnit.WEEK, "last week"}, 391 {Direction.THIS, AbsoluteUnit.WEEK, "this week"}, [all...] |
MeasureUnitTest.java | 126 {"WEEK", "53"}, 230 TIME_CODES.add("week"); 330 MeasureUnit.WEEK, 377 MeasureUnit.WEEK, 505 MeasureUnit.WEEK, 637 MeasureUnit.WEEK, 778 MeasureUnit.WEEK, [all...] |
TimeUnitTest.java | 167 TimeUnit.WEEK,
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
RelativeDateTimeFormatterTest.java | 49 {1.0, Direction.NEXT, RelativeUnit.WEEKS, "in 1 week"}, 78 {1.0, Direction.LAST, RelativeUnit.WEEKS, "1 week ago"}, 119 {1.0, Direction.NEXT, RelativeUnit.WEEKS, "In 1 week"}, 148 {1.0, Direction.LAST, RelativeUnit.WEEKS, "1 week ago"}, 364 {Direction.NEXT, AbsoluteUnit.WEEK, "next week"}, 378 {Direction.LAST, AbsoluteUnit.WEEK, "last week"}, 390 {Direction.THIS, AbsoluteUnit.WEEK, "this week"}, [all...] |
MeasureUnitTest.java | 125 {"WEEK", "53"}, 229 TIME_CODES.add("week"); 329 MeasureUnit.WEEK, 376 MeasureUnit.WEEK, 504 MeasureUnit.WEEK, 636 MeasureUnit.WEEK, 777 MeasureUnit.WEEK, [all...] |
TimeUnitTest.java | 166 TimeUnit.WEEK,
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
RelativeDateTimeFormatter.java | 43 * displaying "in 7 days" or "in 1 week." This API supports relative dates 195 * Week 197 WEEK, 284 * Specifies that relative unit is week, e.g. "last week", 288 WEEK, 481 * using a numeric style, e.g. "1 week ago", "in 1 week", 488 * date, e.g. RelativeDateTimeUnit.WEEK, 506 case WEEK: relunit = RelativeUnit.WEEKS; break [all...] |
TimeUnitFormat.java | 42 * // only SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, and YEAR are supported 411 } else if (timeUnitName.equals("week")) { 412 timeUnit = TimeUnit.WEEK; 550 } else if (timeUnit == TimeUnit.WEEK) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
RelativeDateTimeFormatter.java | 42 * displaying "in 7 days" or "in 1 week." This API supports relative dates 217 * Week 220 WEEK, 321 * Specifies that relative unit is week, e.g. "last week", 326 WEEK, 537 * using a numeric style, e.g. "1 week ago", "in 1 week", 544 * date, e.g. RelativeDateTimeUnit.WEEK, 563 case WEEK: relunit = RelativeUnit.WEEKS; break [all...] |
TimeUnitFormat.java | 41 * // only SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, and YEAR are supported 409 } else if (timeUnitName.equals("week")) { 410 timeUnit = TimeUnit.WEEK; 548 } else if (timeUnit == TimeUnit.WEEK) {
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
UsageStatsTest.java | 63 private static final long WEEK = 7 * DAY; 286 intervalLengths.put(UsageStatsManager.INTERVAL_WEEKLY, WEEK);
|
/packages/apps/Calendar/src/com/android/calendar/ |
AllInOneActivity.java | 484 case ViewType.WEEK: 577 // FRAG_TODO save highlighted days of the week; [all...] |
CalendarViewAdapter.java | 49 // Day view: show day of the week + full date underneath 50 // Week view: show the month + year 52 // Agenda view: show day of the week + full date underneath 66 // The current selected event's time, used to calculate the date and day of the week 188 case ViewType.WEEK: 226 case ViewType.WEEK: 304 // Used when the user selects a new day/week/month to watch 310 // Builds a string with the day of the week and the word yesterday/today/tomorrow 344 // Week: month day-day or month day - month day 385 // Calculate the start of the week, taking into account the "first day of the week 420 int week = Utils.getWeekNumberFromTime(mMilliTime, mContext); local [all...] |
GeneralPreferences.java | 113 public static final int DEFAULT_START_VIEW = CalendarController.ViewType.WEEK;
|
CalendarController.java | 133 * One of the Agenda/Day/Week/Month view types 140 final int WEEK = 3; 460 || (Utils.getAllowWeekForDetailView() && event.viewType == ViewType.WEEK)) { [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
LanguageTestFmwk.java | 44 TimeUnit.YEAR, TimeUnit.MONTH, TimeUnit.WEEK, TimeUnit.DAY, TimeUnit.HOUR, 370 p = p.omit(WEEK).omit(DAY); 373 p = p.and(2, WEEK); 381 p = p.omit(MONTH).omit(WEEK).omit(DAY).and(1, HOUR);
|
/external/icu/icu4c/source/i18n/ |
reldatefmt.cpp | 201 WEEK, 225 case WEEK: 245 case WEEK: 372 } else if (uprv_strncmp(keyword, "week", length) == 0) { 373 return WEEK; [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
LanguageTestFmwk.java | 43 TimeUnit.YEAR, TimeUnit.MONTH, TimeUnit.WEEK, TimeUnit.DAY, TimeUnit.HOUR, 369 p = p.omit(WEEK).omit(DAY); 372 p = p.and(2, WEEK); 380 p = p.omit(MONTH).omit(WEEK).omit(DAY).and(1, HOUR);
|