Binary package “golang-github-jinzhu-now-dev” in ubuntu xenial
time toolkit for golang
Package now is a time toolkit for golang.
.
time.Now() // 2013-11-18 17:51:49.123456789 Mon
.
BeginningOfM
BeginningOfH
BeginningOfDay() // 2013-11-18 00:00:00 Mon
BeginningOfW
.
FirstDayMonday = true // Set Monday as first day
BeginningOfW
BeginningOfM
BeginningOfQ
BeginningOfY
.
EndOfMinute() // 2013-11-18 17:51:59.999999999 Mon
EndOfHour() // 2013-11-18 17:59:59.999999999 Mon
EndOfDay() // 2013-11-18 23:59:59.999999999 Mon
EndOfWeek() // 2013-11-23 23:59:59.999999999 Sat
.
FirstDayMonday = true // Set Monday as first day
EndOfWeek() // 2013-11-24 23:59:59.999999999 Sun
EndOfMonth() // 2013-11-30 23:59:59.999999999 Sat
EndOfQuarter() // 2013-12-31 23:59:59.999999999 Tue
EndOfYear() // 2013-12-31 23:59:59.999999999 Tue
.
// Use another time
t := time.Date(2013, 02, 18, 17, 51, 49, 123456789, time.UTC)
New(
.
Monday() // 2013-11-18 00:00:00 Mon
Sunday() // 2013-11-24 00:00:00 Sun
EndOfSunday() // 2013-11-24 23:59:59.999999999 Sun
.
This package contains the source.
Published versions
- golang-github-jinzhu-now-dev 0.0~git20151001.0.ce80572-1 in amd64 (Proposed)
- golang-github-jinzhu-now-dev 0.0~git20151001.0.ce80572-1 in amd64 (Release)
- golang-github-jinzhu-now-dev 0.0~git20151001.0.ce80572-1 in arm64 (Proposed)
- golang-github-jinzhu-now-dev 0.0~git20151001.0.ce80572-1 in arm64 (Release)
- golang-github-jinzhu-now-dev 0.0~git20151001.0.ce80572-1 in armhf (Proposed)
- golang-github-jinzhu-now-dev 0.0~git20151001.0.ce80572-1 in armhf (Release)
- golang-github-jinzhu-now-dev 0.0~git20151001.0.ce80572-1 in i386 (Proposed)
- golang-github-jinzhu-now-dev 0.0~git20151001.0.ce80572-1 in i386 (Release)
- golang-github-jinzhu-now-dev 0.0~git20151001.0.ce80572-1 in powerpc (Proposed)
- golang-github-jinzhu-now-dev 0.0~git20151001.0.ce80572-1 in powerpc (Release)
- golang-github-jinzhu-now-dev 0.0~git20151001.0.ce80572-1 in ppc64el (Proposed)
- golang-github-jinzhu-now-dev 0.0~git20151001.0.ce80572-1 in ppc64el (Release)
- golang-github-jinzhu-now-dev 0.0~git20151001.0.ce80572-1 in s390x (Release)