func ExampleMean_b() { // Example 12.b, p. 89. jd := julian.TimeToJD(time.Date(1987, 4, 10, 19, 21, 0, 0, time.UTC)) fmt.Printf("%.4d\n", sexa.NewFmtTime(sidereal.Mean(jd))) // Output: // 8ʰ34ᵐ57ˢ.0896 }
func ExampleMean_a() { // Example 12.a, p. 88. jd := 2446895.5 s := sidereal.Mean(jd) sa := sidereal.Apparent(jd) fmt.Printf("%.4d\n", sexa.NewFmtTime(s)) fmt.Printf("%.4d\n", sexa.NewFmtTime(sa)) // Output: // 13ʰ10ᵐ46ˢ.3668 // 13ʰ10ᵐ46ˢ.1351 }