• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* GENERATED SOURCE. DO NOT MODIFY. */
2 // ? 2016 and later: Unicode, Inc. and others.
3 // License & terms of use: http://www.unicode.org/copyright.html
4 /*
5  *******************************************************************************
6  * Copyright (C) 2007-2014, International Business Machines Corporation and    *
7  * others. All Rights Reserved.                                                *
8  *******************************************************************************
9  */
10 
11 package android.icu.util;
12 
13 import java.util.Date;
14 
15 /**
16  * <strong>[icu]</strong> BasicTimeZone extends <code>TimeZone</code> with additional methods to access
17  * time zone transitions and rules.  All ICU <code>TimeZone</code> concrete subclasses
18  * extend this class. APIs added to <code>java.util.TimeZone</code> by
19  * <code>BasicTimeZone</code> are annotated with <strong>'<font
20  * style="color:red">[icu]</font>'</strong>.
21  *
22  * @see android.icu.util.TimeZoneRule
23  * @see android.icu.util.TimeZoneTransition
24  *
25  * @hide Only a subset of ICU is exposed in Android
26  */
27 
28 @SuppressWarnings({"unchecked", "deprecation", "all"})
29 public abstract class BasicTimeZone extends android.icu.util.TimeZone {
30 
BasicTimeZone()31 BasicTimeZone() { throw new RuntimeException("Stub!"); }
32 
33 /**
34  * <strong>[icu]</strong> Returns the first time zone transition after the base time.
35  * <p>Example code:{{@literal @}.jcite  android.icu.samples.util.timezone.BasicTimeZoneExample:---getNextTransitionExample}
36  *
37  * @param base      The base time.
38  * @param inclusive Whether the base time is inclusive or not.
39  *
40  * @return  A <code>Date</code> holding the first time zone transition time
41  *          after the given base time, or null if no time zone transitions
42  *          are available after the base time.
43  */
44 
getNextTransition(long base, boolean inclusive)45 public abstract android.icu.util.TimeZoneTransition getNextTransition(long base, boolean inclusive);
46 }
47 
48