timezone_utils.h 587 B

12345678910111213141516171819202122
  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 "base/base_export.h"
  8. #include "base/strings/string16.h"
  9. namespace base {
  10. namespace android {
  11. // Return an ICU timezone created from the host timezone.
  12. BASE_EXPORT base::string16 GetDefaultTimeZoneId();
  13. } // namespace android
  14. } // namespace base
  15. #endif // BASE_ANDROID_TIMEZONE_UTILS_H_