summaryrefslogtreecommitdiff
path: root/absl/time/duration.cc
diff options
context:
space:
mode:
authorGravatar nik7273 <nik8470@gmail.com>2019-03-08 10:27:53 -0500
committerGravatar Derek Mauro <761129+derekmauro@users.noreply.github.com>2019-03-08 10:27:53 -0500
commit38b704384cd2f17590b3922b97744be0b43622c9 (patch)
treef2fe52967f69eb3b836294eae2fa9c827faeb671 /absl/time/duration.cc
parentfebc5ee6a92d0eb7dac1fceaa6c648cf6521b4dc (diff)
Changed HTTP URLs to HTTPS where possible (#270)
Diffstat (limited to 'absl/time/duration.cc')
-rw-r--r--absl/time/duration.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/absl/time/duration.cc b/absl/time/duration.cc
index 7d4af8c7..be4ef2ea 100644
--- a/absl/time/duration.cc
+++ b/absl/time/duration.cc
@@ -4,7 +4,7 @@
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
-// http://www.apache.org/licenses/LICENSE-2.0
+// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
@@ -749,7 +749,7 @@ void AppendNumberUnit(std::string* out, double n, DisplayUnit unit) {
} // namespace
-// From Go's doc at http://golang.org/pkg/time/#Duration.String
+// From Go's doc at https://golang.org/pkg/time/#Duration.String
// [FormatDuration] returns a string representing the duration in the
// form "72h3m0.5s". Leading zero units are omitted. As a special
// case, durations less than one second format use a smaller unit
@@ -855,8 +855,8 @@ bool ConsumeDurationUnit(const char** start, Duration* unit) {
} // namespace
-// From Go's doc at http://golang.org/pkg/time/#ParseDuration
-// [ParseDuration] parses a duration string. A duration string is
+// From Go's doc at https://golang.org/pkg/time/#ParseDuration
+// [ParseDuration] parses a duration string. A duration string is
// a possibly signed sequence of decimal numbers, each with optional
// fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m".
// Valid time units are "ns", "us" "ms", "s", "m", "h".