1
0
mirror of https://github.com/golang/go synced 2024-10-04 09:31:22 -06:00
go/src/pkg/time
Carlos Castillo 7802080962 time: add YearDay method for time.Time structs
YearDay provides the day in the year represented by a given time.Time
object. This value is normally computed as part of other date calculations,
but not exported.

Fixes #3932.

R=golang-dev, r, remyoudompheng
CC=golang-dev, rsc
https://golang.org/cl/6460069
2012-08-22 20:49:16 -07:00
..
example_test.go godoc: make example code more readable with new comment convention 2012-02-16 11:50:28 +11:00
format.go time: accept .999 in Parse 2012-06-04 13:09:19 -04:00
internal_test.go time: fix daysIn for December 2011-12-07 14:47:25 -05:00
sleep_test.go time: fix deadlock in Sleep(0) 2012-05-29 22:30:56 +04:00
sleep.go time: fix godoc for After and NewTicker. 2012-01-07 20:53:53 -05:00
sys_plan9.go os,time: fix Plan 9 build 2012-02-20 12:31:24 +11:00
sys_unix.go time: switch to using (uncompressed) zoneinfo zip file 2012-02-19 03:16:20 -05:00
sys_windows.go time: switch to using (uncompressed) zoneinfo zip file 2012-02-19 03:16:20 -05:00
tick_test.go time: during short test, do not bother tickers take longer than expected 2012-03-07 01:10:55 +08:00
tick.go time: fix godoc for After and NewTicker. 2012-01-07 20:53:53 -05:00
time_test.go time: add YearDay method for time.Time structs 2012-08-22 20:49:16 -07:00
time.go time: add YearDay method for time.Time structs 2012-08-22 20:49:16 -07:00
zoneinfo_plan9.go os,time: fix Plan 9 build 2012-02-20 12:31:24 +11:00
zoneinfo_read.go time: switch to using (uncompressed) zoneinfo zip file 2012-02-19 03:16:20 -05:00
zoneinfo_unix.go time: switch to using (uncompressed) zoneinfo zip file 2012-02-19 03:16:20 -05:00
zoneinfo_windows.go time: fix handling of locations with no dst on windows 2012-04-03 11:39:38 +10:00
zoneinfo.go time: make Format 2.7x faster 2012-06-03 11:08:17 -04:00