Package com.ibm.icu.dev.tool.timezone
Class ICUZDump
- java.lang.Object
-
- com.ibm.icu.dev.tool.timezone.ICUZDump
-
public class ICUZDump extends java.lang.Object
TimeZone transition dump tool.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ICUZDump.DumpFormatter
private class
ICUZDump.TimeZoneImpl
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
DEFAULT_LINE_SEP
private ICUZDump.DumpFormatter
formatter
private int
hiyear
private java.lang.String
linesep
private int
loyear
private long
tick
private ICUZDump.TimeZoneImpl
tz
-
Constructor Summary
Constructors Constructor Description ICUZDump()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dump(java.io.Writer w)
private static void
dumpZone(java.io.Writer w, java.lang.String lineSep, java.lang.String tzid, int low, int high, boolean isJdk)
private long[]
getCutOverTimes()
static void
main(java.lang.String[] args)
void
setDumpFormatter(ICUZDump.DumpFormatter formatter)
void
setHighYear(int hiyear)
void
setLineSeparator(java.lang.String sep)
void
setLowYear(int loyear)
void
setTick(int tick)
void
setTimeZone(java.lang.Object tzimpl)
-
-
-
Field Detail
-
DEFAULT_LINE_SEP
private static final java.lang.String DEFAULT_LINE_SEP
-
tz
private ICUZDump.TimeZoneImpl tz
-
loyear
private int loyear
-
hiyear
private int hiyear
-
tick
private long tick
-
formatter
private ICUZDump.DumpFormatter formatter
-
linesep
private java.lang.String linesep
-
-
Method Detail
-
setLowYear
public void setLowYear(int loyear)
-
setHighYear
public void setHighYear(int hiyear)
-
setTick
public void setTick(int tick)
-
setTimeZone
public void setTimeZone(java.lang.Object tzimpl)
-
setDumpFormatter
public void setDumpFormatter(ICUZDump.DumpFormatter formatter)
-
setLineSeparator
public void setLineSeparator(java.lang.String sep)
-
dump
public void dump(java.io.Writer w) throws java.io.IOException
- Throws:
java.io.IOException
-
getCutOverTimes
private long[] getCutOverTimes()
-
main
public static void main(java.lang.String[] args)
-
dumpZone
private static void dumpZone(java.io.Writer w, java.lang.String lineSep, java.lang.String tzid, int low, int high, boolean isJdk) throws java.io.IOException
- Throws:
java.io.IOException
-
-