15 lines
239 B
Go
15 lines
239 B
Go
package sunrise
|
|
|
|
import (
|
|
"math"
|
|
)
|
|
|
|
const (
|
|
// Degree provides a precise fraction for converting between degrees and
|
|
// radians.
|
|
Degree = math.Pi / 180
|
|
|
|
// J2000 is the Julian date for January 1, 2000, 12:00:00 TT.
|
|
J2000 = 2451545
|
|
)
|