From 01dbbed2ba0b9ae3cf9579352939ae7c0da5c000 Mon Sep 17 00:00:00 2001 From: nik7273 Date: Thu, 7 Mar 2019 13:45:50 -0500 Subject: [PATCH] Updated HTTP URLs to HTTPS: Apache Headers and Miscellaneous URLs (#93) --- BUILD | 2 +- LICENSE.txt | 4 ++-- Makefile | 4 ++-- README.md | 8 ++++---- examples/classic.cc | 2 +- examples/epoch_shift.cc | 2 +- examples/example1.cc | 2 +- examples/example2.cc | 2 +- examples/example3.cc | 2 +- examples/example4.cc | 2 +- examples/hello.cc | 2 +- include/cctz/civil_time.h | 2 +- include/cctz/civil_time_detail.h | 2 +- include/cctz/time_zone.h | 4 ++-- include/cctz/zone_info_source.h | 2 +- src/cctz_benchmark.cc | 2 +- src/civil_time_detail.cc | 2 +- src/civil_time_test.cc | 2 +- src/time_tool.cc | 2 +- src/time_zone_fixed.cc | 2 +- src/time_zone_fixed.h | 2 +- src/time_zone_format.cc | 2 +- src/time_zone_format_test.cc | 2 +- src/time_zone_if.cc | 2 +- src/time_zone_if.h | 2 +- src/time_zone_impl.cc | 2 +- src/time_zone_impl.h | 2 +- src/time_zone_info.cc | 4 ++-- src/time_zone_info.h | 2 +- src/time_zone_libc.cc | 2 +- src/time_zone_libc.h | 2 +- src/time_zone_lookup.cc | 2 +- src/time_zone_lookup_test.cc | 2 +- src/time_zone_posix.cc | 2 +- src/time_zone_posix.h | 2 +- src/zone_info_source.cc | 2 +- testdata/zoneinfo/iso3166.tab | 2 +- 37 files changed, 44 insertions(+), 44 deletions(-) diff --git a/BUILD b/BUILD index 1c4cdf28..b144632e 100644 --- a/BUILD +++ b/BUILD @@ -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, diff --git a/LICENSE.txt b/LICENSE.txt index 6b0b1270..ccd61dcf 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,7 +1,7 @@ Apache License Version 2.0, January 2004 - http://www.apache.org/licenses/ + https://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -193,7 +193,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, diff --git a/Makefile b/Makefile index 00af7003..650496be 100644 --- a/Makefile +++ b/Makefile @@ -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, @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -# While Bazel (http://bazel.io) is the primary build system used by cctz, +# While Bazel (https://bazel.io) is the primary build system used by cctz, # this Makefile is provided as a convenience for those who can't use Bazel # and can't compile the sources in their own build system. # diff --git a/README.md b/README.md index a01f7d55..b535fd65 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ contributing. # Getting Started -CCTZ is best built and tested using the [Bazel](http://bazel.io) build system +CCTZ is best built and tested using the [Bazel](https://bazel.io) build system and the [Google Test](https://github.com/google/googletest) framework. (There is also a simple [`Makefile`](https://github.com/google/cctz/blob/master/Makefile) and a @@ -98,7 +98,7 @@ types exist to represent absolute times, classically `time_t` and more recently `std::chrono::time_point`. *Civil time* is the legally recognized representation of time for ordinary -affairs (cf. http://www.merriam-webster.com/dictionary/civil). It is a +affairs (cf. https://www.merriam-webster.com/dictionary/civil). It is a human-scale representation of time that consists of the six fields — year, month, day, hour, minute, and second (sometimes shortened to "YMDHMS") — and it follows the rules of the Proleptic Gregorian Calendar, with 24-hour days @@ -123,7 +123,7 @@ above concepts. CCTZ adds to the existing C++11 `` library to fully implement the above concepts. * Absolute time — This is implemented by the existing C++11 - [``](http://en.cppreference.com/w/cpp/chrono) library without + [``](https://en.cppreference.com/w/cpp/chrono) library without modification. For example, an absolute point in time is represented by a `std::chrono::time_point`. * Civil time — This is implemented by the @@ -218,7 +218,7 @@ historic event. * CCTZ [FAQ](https://github.com/google/cctz/wiki/FAQ) * See also the [Time Programming Fundamentals](https://youtu.be/2rnIHsqABfM) - talk from CppCon 2015 ([slides available here](http://goo.gl/ofof4N)). This + talk from CppCon 2015 ([slides available here](https://goo.gl/ofof4N)). This talk mostly describes the older CCTZ v1 API, but the *concepts* are the same. * ISO C++ proposal to standardize the Civil-Time Library: diff --git a/examples/classic.cc b/examples/classic.cc index fddbf69e..3a3a76c6 100644 --- a/examples/classic.cc +++ b/examples/classic.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, diff --git a/examples/epoch_shift.cc b/examples/epoch_shift.cc index 1d297a4f..b4e383f4 100644 --- a/examples/epoch_shift.cc +++ b/examples/epoch_shift.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, diff --git a/examples/example1.cc b/examples/example1.cc index 69d857b3..135854e9 100644 --- a/examples/example1.cc +++ b/examples/example1.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, diff --git a/examples/example2.cc b/examples/example2.cc index 6cb2bfbd..e992d0b2 100644 --- a/examples/example2.cc +++ b/examples/example2.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, diff --git a/examples/example3.cc b/examples/example3.cc index 35721f90..71e0a628 100644 --- a/examples/example3.cc +++ b/examples/example3.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, diff --git a/examples/example4.cc b/examples/example4.cc index b4f16a9c..6a4cf7e6 100644 --- a/examples/example4.cc +++ b/examples/example4.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, diff --git a/examples/hello.cc b/examples/hello.cc index d24c3c8d..357bc9ff 100644 --- a/examples/hello.cc +++ b/examples/hello.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, diff --git a/include/cctz/civil_time.h b/include/cctz/civil_time.h index 0c7e9be4..7366ccce 100644 --- a/include/cctz/civil_time.h +++ b/include/cctz/civil_time.h @@ -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, diff --git a/include/cctz/civil_time_detail.h b/include/cctz/civil_time_detail.h index 2adc9056..decc5f27 100644 --- a/include/cctz/civil_time_detail.h +++ b/include/cctz/civil_time_detail.h @@ -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, diff --git a/include/cctz/time_zone.h b/include/cctz/time_zone.h index 27e16152..f97ea26f 100644 --- a/include/cctz/time_zone.h +++ b/include/cctz/time_zone.h @@ -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, @@ -70,7 +70,7 @@ split_seconds(const time_point& tp) { // // See also: // - http://www.iana.org/time-zones -// - http://en.wikipedia.org/wiki/Zoneinfo +// - https://en.wikipedia.org/wiki/Zoneinfo class time_zone { public: time_zone() : time_zone(nullptr) {} // Equivalent to UTC diff --git a/include/cctz/zone_info_source.h b/include/cctz/zone_info_source.h index b32f2c74..08e91b3c 100644 --- a/include/cctz/zone_info_source.h +++ b/include/cctz/zone_info_source.h @@ -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, diff --git a/src/cctz_benchmark.cc b/src/cctz_benchmark.cc index efdc98a4..179ae508 100644 --- a/src/cctz_benchmark.cc +++ b/src/cctz_benchmark.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, diff --git a/src/civil_time_detail.cc b/src/civil_time_detail.cc index 5180a1ba..b6856b8d 100644 --- a/src/civil_time_detail.cc +++ b/src/civil_time_detail.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, diff --git a/src/civil_time_test.cc b/src/civil_time_test.cc index 55ea0664..999f7d43 100644 --- a/src/civil_time_test.cc +++ b/src/civil_time_test.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, diff --git a/src/time_tool.cc b/src/time_tool.cc index cfabbae3..63a0db61 100644 --- a/src/time_tool.cc +++ b/src/time_tool.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, diff --git a/src/time_zone_fixed.cc b/src/time_zone_fixed.cc index d17e5692..9da22c6a 100644 --- a/src/time_zone_fixed.cc +++ b/src/time_zone_fixed.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, diff --git a/src/time_zone_fixed.h b/src/time_zone_fixed.h index 03898530..f37226ff 100644 --- a/src/time_zone_fixed.h +++ b/src/time_zone_fixed.h @@ -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, diff --git a/src/time_zone_format.cc b/src/time_zone_format.cc index 989b2deb..a12367e0 100644 --- a/src/time_zone_format.cc +++ b/src/time_zone_format.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, diff --git a/src/time_zone_format_test.cc b/src/time_zone_format_test.cc index fced7062..ad611cf7 100644 --- a/src/time_zone_format_test.cc +++ b/src/time_zone_format_test.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, diff --git a/src/time_zone_if.cc b/src/time_zone_if.cc index 6214fa22..504fca14 100644 --- a/src/time_zone_if.cc +++ b/src/time_zone_if.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, diff --git a/src/time_zone_if.h b/src/time_zone_if.h index 6bd3a6ff..f925c6c5 100644 --- a/src/time_zone_if.h +++ b/src/time_zone_if.h @@ -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, diff --git a/src/time_zone_impl.cc b/src/time_zone_impl.cc index e0960da6..3064155f 100644 --- a/src/time_zone_impl.cc +++ b/src/time_zone_impl.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, diff --git a/src/time_zone_impl.h b/src/time_zone_impl.h index dce800cd..23fcddb6 100644 --- a/src/time_zone_impl.h +++ b/src/time_zone_impl.h @@ -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, diff --git a/src/time_zone_info.cc b/src/time_zone_info.cc index 0342e57c..eb1cd8ab 100644 --- a/src/time_zone_info.cc +++ b/src/time_zone_info.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, @@ -25,7 +25,7 @@ // a grain of salt. // // For more information see tzfile(5), http://www.iana.org/time-zones, or -// http://en.wikipedia.org/wiki/Zoneinfo. +// https://en.wikipedia.org/wiki/Zoneinfo. // // Note that we assume the proleptic Gregorian calendar and 60-second // minutes throughout. diff --git a/src/time_zone_info.h b/src/time_zone_info.h index ef3fb821..4657a2db 100644 --- a/src/time_zone_info.h +++ b/src/time_zone_info.h @@ -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, diff --git a/src/time_zone_libc.cc b/src/time_zone_libc.cc index 06b62ea5..da89fef8 100644 --- a/src/time_zone_libc.cc +++ b/src/time_zone_libc.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, diff --git a/src/time_zone_libc.h b/src/time_zone_libc.h index 262b9715..4cfe6dae 100644 --- a/src/time_zone_libc.h +++ b/src/time_zone_libc.h @@ -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, diff --git a/src/time_zone_lookup.cc b/src/time_zone_lookup.cc index ca1c701c..f85e8d79 100644 --- a/src/time_zone_lookup.cc +++ b/src/time_zone_lookup.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, diff --git a/src/time_zone_lookup_test.cc b/src/time_zone_lookup_test.cc index 661637a8..14e3f66e 100644 --- a/src/time_zone_lookup_test.cc +++ b/src/time_zone_lookup_test.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, diff --git a/src/time_zone_posix.cc b/src/time_zone_posix.cc index b27b9329..1415cb6c 100644 --- a/src/time_zone_posix.cc +++ b/src/time_zone_posix.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, diff --git a/src/time_zone_posix.h b/src/time_zone_posix.h index bac4714c..aea93efd 100644 --- a/src/time_zone_posix.h +++ b/src/time_zone_posix.h @@ -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, diff --git a/src/zone_info_source.cc b/src/zone_info_source.cc index 411eb85f..9012fe46 100644 --- a/src/zone_info_source.cc +++ b/src/zone_info_source.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, diff --git a/testdata/zoneinfo/iso3166.tab b/testdata/zoneinfo/iso3166.tab index c2e0f8ea..4e4a5c3d 100644 --- a/testdata/zoneinfo/iso3166.tab +++ b/testdata/zoneinfo/iso3166.tab @@ -10,7 +10,7 @@ # # 1. ISO 3166-1 alpha-2 country code, current as of # ISO 3166-1 N905 (2016-11-15). See: Updates on ISO 3166-1 -# http://isotc.iso.org/livelink/livelink/Open/16944257 +# https://isotc.iso.org/livelink/livelink/Open/16944257 # 2. The usual English name for the coded region, # chosen so that alphabetic sorting of subsets produces helpful lists. # This is not the same as the English name in the ISO 3166 tables.