go/src/time
Conrad Irwin 49dccf141f time: add Time.Unix{Milli,Micro} and to-Time helpers UnixMicro, UnixMilli
Adds helper functions for users working with other systems which
represent time in milliseconds or microseconds since the Unix epoch.

Fixes #44196

Change-Id: Ibc4490b52ddec94ebd0c692cb7b52a33e4536759
Reviewed-on: https://go-review.googlesource.com/c/go/+/293349
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Go Bot <gobot@golang.org>
2021-03-27 05:38:26 +00:00
..
tzdata all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
embed.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
example_test.go
export_android_test.go
export_test.go time: check int64 overflow in Time.addSec 2021-03-17 19:48:52 +00:00
export_windows_test.go
format.go time: support "," as separator for fractional seconds 2021-03-16 00:27:31 +00:00
format_test.go time: support "," as separator for fractional seconds 2021-03-16 00:27:31 +00:00
genzabbrs.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
internal_test.go time: check int64 overflow in Time.addSec 2021-03-17 19:48:52 +00:00
mono_test.go
sleep.go time: clarify Timer.Reset behavior on AfterFunc Timers 2021-01-22 14:50:17 +00:00
sleep_test.go runtime, time: disable preemption in addtimer 2021-03-10 21:49:24 +00:00
sys_plan9.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sys_unix.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
sys_windows.go
tick.go
tick_test.go
time.go time: add Time.Unix{Milli,Micro} and to-Time helpers UnixMicro, UnixMilli 2021-03-27 05:38:26 +00:00
time_test.go time: add Time.Unix{Milli,Micro} and to-Time helpers UnixMicro, UnixMilli 2021-03-27 05:38:26 +00:00
tzdata_test.go
zoneinfo.go time: add Time.IsDST() to check if its Location is in Daylight Savings Time 2021-03-15 23:56:07 +00:00
zoneinfo_abbrs_windows.go
zoneinfo_android.go
zoneinfo_android_test.go
zoneinfo_ios.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zoneinfo_js.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zoneinfo_plan9.go
zoneinfo_read.go time: add Time.IsDST() to check if its Location is in Daylight Savings Time 2021-03-15 23:56:07 +00:00
zoneinfo_test.go time: add Time.IsDST() to check if its Location is in Daylight Savings Time 2021-03-15 23:56:07 +00:00
zoneinfo_unix.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zoneinfo_unix_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
zoneinfo_windows.go
zoneinfo_windows_test.go