go/src/time
Tobias Klauser 9e277f7d55 all: use "reports whether" consistently instead of "returns whether"
Follow-up for CL 147037 and after Brad noticed the "returns whether"
pattern during the review of CL 150621.

Go documentation style for boolean funcs is to say:

    // Foo reports whether ...
    func Foo() bool

(rather than "returns whether")

Created with:

    $ perl -i -npe 's/returns whether/reports whether/' $(git grep -l "returns whether" | grep -v vendor)

Change-Id: I15fe9ff99180ad97750cd05a10eceafdb12dc0b4
Reviewed-on: https://go-review.googlesource.com/c/150918
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-12-02 15:12:26 +00:00
..
example_test.go time: display results in examples rather soon 2018-10-31 16:29:40 +00:00
export_android_test.go time: reduce OS dependent timezone related code 2017-09-27 14:14:45 +00:00
export_test.go time: enable Location loading from user provided timezone data 2017-11-21 19:13:52 +00:00
export_windows_test.go time: reduce OS dependent timezone related code 2017-09-27 14:14:45 +00:00
format.go time: allow +00 as numeric timezone name and GMT offset 2018-08-24 17:31:42 +00:00
format_test.go time: allow +00 as numeric timezone name and GMT offset 2018-08-24 17:31:42 +00:00
genzabbrs.go all: use sort.Slice in a few more places 2017-09-22 12:39:14 +00:00
internal_test.go time: increase test coverage for Time.Sub 2018-04-16 21:14:40 +00:00
mono_test.go all: revert "all: prefer strings.LastIndexByte over strings.LastIndex" 2017-10-05 23:19:42 +00:00
sleep.go runtime, time: refactor startNano handling 2018-11-02 12:50:03 +00:00
sleep_test.go all: update stale test skips 2018-08-20 13:10:24 +00:00
sys_plan9.go time: unify three readFile implementations into one 2017-09-27 14:29:31 +00:00
sys_unix.go time: add AIX operating system 2018-10-10 14:15:57 +00:00
sys_windows.go time: unify three readFile implementations into one 2017-09-27 14:29:31 +00:00
tick.go time: add clarification to Timer.Stop documentation 2018-07-11 22:06:22 +00:00
tick_test.go runtime: return deltimer early if timer.timersBucket is unset 2017-09-15 19:55:10 +00:00
time.go time: add a missing comma in the documentation of Time 2018-11-08 18:02:11 +00:00
time_test.go runtime: don't crash holding locks on racy timer access 2018-06-04 18:33:41 +00:00
zoneinfo.go all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
zoneinfo_abbrs_windows.go time: run genzabbrs.go to update zoneinfo_abbrs_windows.go 2018-06-26 09:55:39 +00:00
zoneinfo_android.go time: return ENOENT from androidLoadTzinfoFromTzdata if zone not found 2018-09-15 14:58:35 +00:00
zoneinfo_android_test.go
zoneinfo_ios.go time: reduce OS dependent timezone related code 2017-09-27 14:14:45 +00:00
zoneinfo_js.go time: handle negative offsets on js/wasm 2018-11-08 17:33:49 +00:00
zoneinfo_plan9.go time: reduce OS dependent timezone related code 2017-09-27 14:14:45 +00:00
zoneinfo_read.go all: fix tests for older versions of AIX 7.2 2018-11-02 13:44:27 +00:00
zoneinfo_test.go time: improve error message for LoadLocation 2018-09-14 20:51:22 +00:00
zoneinfo_unix.go time: return correct zone info on js/wasm 2018-10-24 15:42:36 +00:00
zoneinfo_windows.go time: reduce OS dependent timezone related code 2017-09-27 14:14:45 +00:00
zoneinfo_windows_test.go time: always run ZoneAbbr test 2018-08-20 14:39:59 +00:00