diff options
| author | hopehook <hopehook.com@gmail.com> | 2022-05-10 12:30:43 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-05-17 03:26:28 +0000 |
| commit | 41b9d8c75e45636a153c2a31d117196a22a7fc6c (patch) | |
| tree | aca1cd471d8f3030570eb1c463256b98d200a2df /src/cmd/vendor/github.com/google/pprof | |
| parent | aedf298daf508b564e4dddc7687fff8822315a5e (diff) | |
| download | go-41b9d8c75e45636a153c2a31d117196a22a7fc6c.tar.xz | |
time: add Time.ZoneBounds
The method Location.lookup returns the "start" and "end" times bracketing seconds when that zone is in effect.
This CL does these things:
1. Exported the "start" and "end" times as time.Time form
2. Keep the "Location" of the returned times be the same as underlying time
Fixes #50062.
Change-Id: I88888a100d0fc68f4984a85c75a85a83aa3e5d80
Reviewed-on: https://go-review.googlesource.com/c/go/+/405374
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/cmd/vendor/github.com/google/pprof')
0 files changed, 0 insertions, 0 deletions
