Searched refs:totalMonths (Results 1 – 5 of 5) sorted by relevance
312 …long totalMonths = (end.prolepticYear - this.prolepticYear) * 13 + (end.month - this.month); // s… in until() local314 if (totalMonths > 0 && days < 0) { in until()315 totalMonths--; in until()316 CopticDate calcDate = this.plusMonths(totalMonths); in until()318 } else if (totalMonths < 0 && days > 0) { in until()319 totalMonths++; in until()322 long years = totalMonths / 13; // safe in until()323 int months = (int) (totalMonths % 13); // safe in until()
828 long totalMonths = toTotalMonths(); in normalized() local829 long splitYears = totalMonths / 12; in normalized()830 int splitMonths = (int) (totalMonths % 12); // no overflow in normalized()894 long totalMonths = toTotalMonths(); in addTo() local895 if (totalMonths != 0) { in addTo()896 temporal = temporal.plus(totalMonths, MONTHS); in addTo()947 long totalMonths = toTotalMonths(); in subtractFrom() local948 if (totalMonths != 0) { in subtractFrom()949 temporal = temporal.minus(totalMonths, MONTHS); in subtractFrom()
1658 long totalMonths = end.getProlepticMonth() - this.getProlepticMonth(); // safe in until() local1660 if (totalMonths > 0 && days < 0) { in until()1661 totalMonths--; in until()1662 LocalDate calcDate = this.plusMonths(totalMonths); in until()1664 } else if (totalMonths < 0 && days > 0) { in until()1665 totalMonths++; in until()1668 long years = totalMonths / 12; // safe in until()1669 int months = (int) (totalMonths % 12); // safe in until()
590 …long totalMonths = (end.prolepticYear - this.prolepticYear) * 12 + (end.monthOfYear - this.monthOf… in until() local592 if (totalMonths > 0 && days < 0) { in until()593 totalMonths--; in until()594 HijrahDate calcDate = this.plusMonths(totalMonths); in until()596 } else if (totalMonths < 0 && days > 0) { in until()597 totalMonths++; in until()600 long years = totalMonths / 12; // safe in until()601 int months = (int) (totalMonths % 12); // safe in until()
231 long totalMonths = years * monthRange + months; in normalized() local232 long splitYears = totalMonths / monthRange; in normalized()233 int splitMonths = (int) (totalMonths % monthRange); // no overflow in normalized()