Searched refs:wowby (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | WeekFields.java | 725 int yowby, int wowby, int dow) { in ofWeekBasedYear() argument 733 wowby = Math.min(wowby, newYearWeek - 1); in ofWeekBasedYear() 735 int days = -offset + (dow - 1) + (wowby - 1) * 7; in ofWeekBasedYear() 906 int wowby = temporal.get(weekDef.weekOfWeekBasedYear); in adjustInto() local 907 return (R) ofWeekBasedYear(Chronology.from(temporal), (int)newValue, wowby, idow); in adjustInto() 1012 long wowby = fieldValues.get(weekDef.weekOfWeekBasedYear); in resolveWBY() local 1013 long weeks = Math.subtractExact(wowby, 1); in resolveWBY() 1016 int wowby = weekDef.weekOfWeekBasedYear.range().checkValidIntValue( in resolveWBY() local 1018 date = ofWeekBasedYear(chrono, yowby, wowby, localDow); in resolveWBY()
|
D | IsoFields.java | 475 long wowby = fieldValues.get(WEEK_OF_WEEK_BASED_YEAR); in resolve() local 487 date = date.plusWeeks(Math.subtractExact(wowby, 1)).with(DAY_OF_WEEK, dow); in resolve() 490 if (wowby < 1 || wowby > 52) { in resolve() 492 … getWeekRange(date).checkValidValue(wowby, this); // only allow exact range in resolve() 494 … range().checkValidValue(wowby, this); // allow 1-53 rolling into next year in resolve() 497 date = date.plusWeeks(wowby - 1).with(DAY_OF_WEEK, dow); in resolve()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKWeekFields.java | 636 int wowby = date.get(wowbyField); in test_parse_resolve_localizedWoWBY_lenient() local 638 for (int j = wowby - 60; j < wowby + 60; j++) { in test_parse_resolve_localizedWoWBY_lenient() 641 assertEquals(parsed, date.plusWeeks(j - wowby), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWoWBY_lenient() 704 int wowby = date.get(wowbyField); in test_parse_resolve_localizedWoWBYDow_lenient() local 706 for (int j = wowby - 60; j < wowby + 60; j++) { in test_parse_resolve_localizedWoWBYDow_lenient() 709 assertEquals(parsed, date.plusWeeks(j - wowby), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWoWBYDow_lenient()
|