Paul Duffin | 4321d6b | 2019-10-03 13:32:26 +0100 | [diff] [blame] | 1 | // Signature format: 2.0 |
| 2 | package android.icu.impl { |
| 3 | |
| 4 | public class CalendarAstronomer { |
| 5 | ctor public CalendarAstronomer(double, double); |
| 6 | method public long getSunRiseSet(boolean); |
| 7 | method public void setTime(long); |
| 8 | } |
| 9 | |
| 10 | public class TimeZoneAdapter extends java.util.TimeZone { |
| 11 | method public static java.util.TimeZone wrap(android.icu.util.TimeZone); |
| 12 | } |
| 13 | |
| 14 | } |
| 15 | |
| 16 | package android.icu.text { |
| 17 | |
| 18 | public final class StringPrep { |
| 19 | method public static android.icu.text.StringPrep getInstance(int); |
| 20 | method public String prepare(String, int) throws android.icu.text.StringPrepParseException; |
| 21 | field public static final int DEFAULT = 0; // 0x0 |
| 22 | field public static final int RFC3920_RESOURCEPREP = 8; // 0x8 |
| 23 | } |
| 24 | |
| 25 | } |
| 26 | |
| 27 | package android.icu.util { |
| 28 | |
| 29 | public abstract class BasicTimeZone extends android.icu.util.TimeZone { |
| 30 | method public abstract android.icu.util.TimeZoneTransition getNextTransition(long, boolean); |
| 31 | } |
| 32 | |
| 33 | public class Region implements java.lang.Comparable<android.icu.util.Region> { |
| 34 | method public static java.util.Set<android.icu.util.Region> getAvailable(android.icu.util.Region.RegionType); |
| 35 | } |
| 36 | |
| 37 | public enum Region.RegionType { |
| 38 | enum_constant public static final android.icu.util.Region.RegionType TERRITORY; |
| 39 | } |
| 40 | |
| 41 | public abstract class TimeZoneRule implements java.io.Serializable { |
| 42 | method public int getDSTSavings(); |
| 43 | } |
| 44 | |
| 45 | public class TimeZoneTransition { |
| 46 | method public android.icu.util.TimeZoneRule getFrom(); |
| 47 | method public long getTime(); |
| 48 | method public android.icu.util.TimeZoneRule getTo(); |
| 49 | } |
| 50 | |
| 51 | } |
| 52 | |
Victor Chang | 21639cd | 2020-06-17 15:25:10 +0100 | [diff] [blame^] | 53 | package com.android.i18n.timezone { |
| 54 | |
| 55 | public class DebugInfo { |
| 56 | ctor public DebugInfo(); |
| 57 | method public com.android.i18n.timezone.DebugInfo addStringEntry(String, String); |
| 58 | method public com.android.i18n.timezone.DebugInfo addStringEntry(String, int); |
| 59 | method public java.util.List<com.android.i18n.timezone.DebugInfo.DebugEntry> getDebugEntries(); |
| 60 | } |
| 61 | |
| 62 | public static class DebugInfo.DebugEntry { |
| 63 | ctor public DebugInfo.DebugEntry(String, String); |
| 64 | method public String getKey(); |
| 65 | method public String getStringValue(); |
| 66 | } |
| 67 | |
| 68 | public class I18nModuleDebug { |
| 69 | method public static com.android.i18n.timezone.DebugInfo getDebugInfo(); |
| 70 | } |
| 71 | |
| 72 | public final class TimeZoneDataFiles { |
| 73 | method public static String getDataTimeZoneFile(String); |
| 74 | method public static String getDataTimeZoneRootDir(); |
| 75 | method public static String getTimeZoneModuleTzVersionFile(); |
| 76 | } |
| 77 | |
| 78 | public final class TzDataSetVersion { |
| 79 | ctor public TzDataSetVersion(int, int, String, int) throws com.android.i18n.timezone.TzDataSetVersion.TzDataSetException; |
| 80 | method public static int currentFormatMajorVersion(); |
| 81 | method public static int currentFormatMinorVersion(); |
| 82 | method public int getFormatMajorVersion(); |
| 83 | method public int getFormatMinorVersion(); |
| 84 | method public int getRevision(); |
| 85 | method public String getRulesVersion(); |
| 86 | method public static boolean isCompatibleWithThisDevice(com.android.i18n.timezone.TzDataSetVersion); |
| 87 | method public static com.android.i18n.timezone.TzDataSetVersion readFromFile(java.io.File) throws java.io.IOException, com.android.i18n.timezone.TzDataSetVersion.TzDataSetException; |
| 88 | method public static com.android.i18n.timezone.TzDataSetVersion readTimeZoneModuleVersion() throws java.io.IOException, com.android.i18n.timezone.TzDataSetVersion.TzDataSetException; |
| 89 | method public byte[] toBytes(); |
| 90 | field public static final String DEFAULT_FILE_NAME = "tz_version"; |
| 91 | } |
| 92 | |
| 93 | public static class TzDataSetVersion.TzDataSetException extends java.lang.Exception { |
| 94 | ctor public TzDataSetVersion.TzDataSetException(String); |
| 95 | ctor public TzDataSetVersion.TzDataSetException(String, Throwable); |
| 96 | } |
| 97 | |
| 98 | public final class ZoneInfoData implements java.lang.Cloneable { |
| 99 | method public String getID(); |
| 100 | } |
| 101 | |
| 102 | public static class ZoneInfoData.WallTime { |
| 103 | ctor public ZoneInfoData.WallTime(); |
| 104 | method public int getGmtOffset(); |
| 105 | method public int getHour(); |
| 106 | method public int getIsDst(); |
| 107 | method public int getMinute(); |
| 108 | method public int getMonth(); |
| 109 | method public int getMonthDay(); |
| 110 | method public int getSecond(); |
| 111 | method public int getWeekDay(); |
| 112 | method public int getYear(); |
| 113 | method public int getYearDay(); |
| 114 | method public void localtime(int, com.android.i18n.timezone.ZoneInfoData); |
| 115 | method public int mktime(com.android.i18n.timezone.ZoneInfoData); |
| 116 | method public void setGmtOffset(int); |
| 117 | method public void setHour(int); |
| 118 | method public void setIsDst(int); |
| 119 | method public void setMinute(int); |
| 120 | method public void setMonth(int); |
| 121 | method public void setMonthDay(int); |
| 122 | method public void setSecond(int); |
| 123 | method public void setWeekDay(int); |
| 124 | method public void setYear(int); |
| 125 | method public void setYearDay(int); |
| 126 | } |
| 127 | |
| 128 | public final class ZoneInfoDb implements java.lang.AutoCloseable { |
| 129 | method public static com.android.i18n.timezone.ZoneInfoDb getInstance(); |
| 130 | method public String getVersion(); |
| 131 | method public boolean hasTimeZone(String); |
| 132 | method public static com.android.i18n.timezone.ZoneInfoDb loadTzData(String); |
| 133 | method public com.android.i18n.timezone.ZoneInfoData makeZoneInfoData(String); |
| 134 | method public void validate() throws java.io.IOException; |
| 135 | } |
| 136 | |
| 137 | } |
| 138 | |
Victor Chang | b3ff319 | 2020-03-10 18:22:21 +0000 | [diff] [blame] | 139 | package com.android.icu.text { |
| 140 | |
| 141 | public class DateSorterBridge { |
| 142 | method public static com.android.icu.text.DateSorterBridge createInstance(java.util.Locale) throws java.lang.AssertionError; |
| 143 | method public String getToday(); |
| 144 | method public String getYesterday(); |
| 145 | } |
| 146 | |
| 147 | } |
| 148 | |