summaryrefslogtreecommitdiff
path: root/absl/time/internal/cctz/src/time_zone_if.cc
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2023-06-06 11:23:59 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2023-06-06 11:24:54 -0700
commit1285ca4b4f06e40ca0238bde7197e0cb3648a451 (patch)
treef0399890177d0fb6a06d101bb700796c4075bf47 /absl/time/internal/cctz/src/time_zone_if.cc
parent66406fdf1553de6ad672576167e7cc7ca2d764cb (diff)
Import of CCTZ from GitHub.
PiperOrigin-RevId: 538241594 Change-Id: Ie6f0d913bcf07dea2f33e47198ba952b3800d70e
Diffstat (limited to 'absl/time/internal/cctz/src/time_zone_if.cc')
-rw-r--r--absl/time/internal/cctz/src/time_zone_if.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/absl/time/internal/cctz/src/time_zone_if.cc b/absl/time/internal/cctz/src/time_zone_if.cc
index 0319b2f9..1d44dde7 100644
--- a/absl/time/internal/cctz/src/time_zone_if.cc
+++ b/absl/time/internal/cctz/src/time_zone_if.cc
@@ -26,6 +26,8 @@ namespace cctz {
std::unique_ptr<TimeZoneIf> TimeZoneIf::Load(const std::string& name) {
// Support "libc:localtime" and "libc:*" to access the legacy
// localtime and UTC support respectively from the C library.
+ // NOTE: The "libc:*" zones are internal, test-only interfaces, and
+ // are subject to change/removal without notice. Do not use them.
if (name.compare(0, 5, "libc:") == 0) {
return std::unique_ptr<TimeZoneIf>(new TimeZoneLibC(name.substr(5)));
}