final class TzdbZoneRulesCompiler extends AnyRef
A builder that can read the TZDB time-zone files and build ZoneRules
instances.
Specification for implementors
This class is a mutable builder. A new instance must be created for each compile.
- Alphabetic
- By Inheritance
- TzdbZoneRulesCompiler
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TzdbZoneRulesCompiler(version: String, sourceFiles: List[File], leapSecondsFile: File, verbose: Boolean)
Creates an instance if you want to invoke the compiler manually.
Creates an instance if you want to invoke the compiler manually.
- version
the version, such as 2009a, not null
- sourceFiles
the list of source files, not empty, not null
- verbose
whether to output verbose messages
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compile(): Unit
Compile the rules file.
Compile the rules file.
Use
#getZones()
and#getLeapSeconds()
to retrieve the parsed data.- Annotations
- @throws(scala.this.throws.<init>$default$1[Exception])
- Exceptions thrown
Exception
if an error occurs
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getLeapSeconds: SortedMap[LocalDate, Byte]
Gets the parsed leap seconds.
Gets the parsed leap seconds.
- returns
the parsed and sorted leap seconds, not null
- def getZones: SortedMap[String, ZoneRules]
Gets the parsed zone rules.
Gets the parsed zone rules.
- returns
the parsed zone rules, not null
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()