calendar_test.go 554 B

12345678910111213141516171819
  1. package ut_test
  2. import "time"
  3. // NOTES:
  4. // - Run "go test" to run tests
  5. // - Run "gocov test | gocov report" to report on test converage by file
  6. // - Run "gocov test | gocov annotate -" to report on all code and functions, those ,marked with "MISS" were never called
  7. //
  8. // or
  9. //
  10. // -- may be a good idea to change to output path to somewherelike /tmp
  11. // go test -coverprofile cover.out && go tool cover -html=cover.out -o cover.html
  12. //
  13. var (
  14. dateTimeString = "Jan 2, 2006 at 3:04:05pm"
  15. bc300DateTime = time.Date(-300, 1, 2, 3, 4, 5, 0, time.UTC)
  16. )