Searched refs:CopticDate (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | CopticChronology.java | 173 public CopticDate date(int prolepticYear, int month, int dayOfMonth) { in date() 174 return new CopticDate(prolepticYear, month, dayOfMonth); in date() 178 public CopticDate dateYearDay(int prolepticYear, int dayOfYear) { in dateYearDay() 179 return new CopticDate(prolepticYear, (dayOfYear - 1) / 30 + 1, (dayOfYear - 1) % 30 + 1); in dateYearDay() 183 public CopticDate dateEpochDay(long epochDay) { in dateEpochDay() 184 return CopticDate.ofEpochDay(epochDay); in dateEpochDay() 188 public CopticDate date(TemporalAccessor dateTime) { in date() 189 if (dateTime instanceof CopticDate) { in date() 190 return (CopticDate) dateTime; in date() 192 return CopticDate.ofEpochDay(dateTime.getLong(EPOCH_DAY)); in date()
|
D | CopticDate.java | 89 public final class CopticDate class 122 static CopticDate ofEpochDay(long epochDay) { in ofEpochDay() 129 return new CopticDate(prolepticYear, month, dom); in ofEpochDay() 132 private static CopticDate resolvePreviousValid(int prolepticYear, int month, int day) { in resolvePreviousValid() 136 return new CopticDate(prolepticYear, month, day); in resolvePreviousValid() 148 CopticDate(int prolepticYear, int month, int dayOfMonth) { in CopticDate() method in CopticDate 233 public CopticDate with(TemporalField field, long newValue) { in with() 259 public CopticDate plus(long amountToAdd, TemporalUnit unit) { in plus() 277 private CopticDate plusYears(long years) { in plusYears() 281 private CopticDate plusMonths(long months) { in plusMonths() [all …]
|