17 lines
220 B
Go
17 lines
220 B
Go
|
package calendar
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
func TestOffsetStr(t *testing.T) {
|
||
|
fmt.Println(offsetStr(-28800))
|
||
|
fmt.Println(offsetStr(28800))
|
||
|
}
|
||
|
|
||
|
func TestT(t *testing.T) {
|
||
|
fmt.Println(icstime(time.Now()))
|
||
|
}
|