Skip to main content

utcut1

Function utcut1 

Source
pub fn utcut1(utc1: f64, utc2: f64, dut1: f64) -> Result<(f64, f64), i32>
Expand description

Time scale transformation: Coordinated Universal Time, UTC, to Universal Time, UT1.

This function is part of the International Astronomical Union’s SOFA (Standards of Fundamental Astronomy) software collection.

Status: canonical.

Given: utc1,utc2 double UTC as a 2-part quasi Julian Date (Note 1) dut1 double Delta UT1: UT1-UTC in seconds (Note 2)

Returned: ut11,ut12 double UT1 as a 2-part Julian Date (Note 3)

Returned (function value): int status: +1 = dubious year (Note 4) 0 = OK -1 = unacceptable date