MCPcopy Create free account
hub / github.com/MenoData/Time4J / until

Method until

base/src/main/java/net/time4j/Moment.java:1530–1537  ·  view source on GitHub ↗
(
        Moment end,
        SI unit
    )

Source from the content-addressed store, hash-verified

1528 * @throws UnsupportedOperationException wenn ein Zeitpunkt vor 1972 ist
1529 */
1530 public long until(
1531 Moment end,
1532 SI unit
1533 ) {
1534
1535 return unit.between(this, end);
1536
1537 }
1538
1539 /**
1540 * <p>Creates a formatted output of this instance. </p>

Callers 15

synchronizedWithMethod · 0.95
realHourShiftBerlinMethod · 0.95
meanSolarTimeMethod · 0.95
simplifiedTimeMethod · 0.95
sydneyWilliamsMethod · 0.95
sydneyNOAAMethod · 0.95
sydneyCCMethod · 0.95
sydneyTime4JMethod · 0.95
daysShiftSamoaMethod · 0.95
hoursShiftSamoaMethod · 0.95
minutesShiftSamoaMethod · 0.95
secondsShiftSamoaMethod · 0.95

Calls 1

betweenMethod · 0.65

Tested by 15

synchronizedWithMethod · 0.76
realHourShiftBerlinMethod · 0.76
meanSolarTimeMethod · 0.76
simplifiedTimeMethod · 0.76
sydneyWilliamsMethod · 0.76
sydneyNOAAMethod · 0.76
sydneyCCMethod · 0.76
sydneyTime4JMethod · 0.76
daysShiftSamoaMethod · 0.76
hoursShiftSamoaMethod · 0.76
minutesShiftSamoaMethod · 0.76
secondsShiftSamoaMethod · 0.76