新增恒星相关计算
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package sun
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
func TestSun(t *testing.T) {
|
||||
now := time.Now()
|
||||
fmt.Println(RiseTime(now, 115, 40, 0, true))
|
||||
fmt.Println(CulminationTime(now, 115))
|
||||
fmt.Println(DownTime(now, 115, 40, 0, true))
|
||||
}
|
||||
Reference in New Issue
Block a user