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

Method deltaT

base/src/main/java/net/time4j/scale/TimeScale.java:354–366  ·  view source on GitHub ↗
(
        int year,
        int month
    )

Source from the content-addressed store, hash-verified

352 * @since 3.33/4.28
353 */
354 public static double deltaT(
355 int year,
356 int month
357 ) {
358
359 if ((month < 1) || (month > 12)) {
360 throw new IllegalArgumentException("Month out of range: " + month);
361 }
362
363 double y = year + (month - 0.5) / 12;
364 return deltaT(year, y);
365
366 }
367
368 /**
369 * <p>Estimates the delta between TT and UT1 in decimal seconds depending on given date. </p>

Callers 10

MomentMethod · 0.95
getElapsedTimeMethod · 0.95
getNanosecondMethod · 0.95
getModernUTMethod · 0.95
eventMethod · 0.95
toMomentMethod · 0.95
onMethod · 0.95
inYearMethod · 0.95

Calls 6

isLeapYearMethod · 0.95
getLengthOfMonthMethod · 0.95
getYearMethod · 0.65
getMonthMethod · 0.65
getDayOfMonthMethod · 0.65
toStringMethod · 0.65

Tested by 2