(
int year,
int month
)
| 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> |