timezone_utils.h 549 B

1234567891011121314151617181920212223
  1. // Copyright 2017 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef BASE_ANDROID_TIMEZONE_UTILS_H_
  5. #define BASE_ANDROID_TIMEZONE_UTILS_H_
  6. #include <jni.h>
  7. #include <string>
  8. #include "base/base_export.h"
  9. namespace base {
  10. namespace android {
  11. // Return an ICU timezone created from the host timezone.
  12. BASE_EXPORT std::u16string GetDefaultTimeZoneId();
  13. } // namespace android
  14. } // namespace base
  15. #endif // BASE_ANDROID_TIMEZONE_UTILS_H_