change delta T formula and add planet phenomena function

This commit is contained in:
2022-05-16 20:42:15 +08:00
parent bb07e23238
commit 97c017be08
38 changed files with 4700 additions and 779 deletions
+14
View File
@@ -0,0 +1,14 @@
package mercury
import (
"fmt"
"testing"
"time"
)
func TestMercury(t *testing.T) {
date := time.Now().Add(time.Hour * -24)
fmt.Println(CulminationTime(date, 115))
fmt.Println(RiseTime(date, 115, 23, 0, false))
fmt.Println(DownTime(date, 115, 23, 0, false))
}