final class CharLiteralPrinterParser extends DateTimePrinterParser
Prints or parses a character literal.
- Alphabetic
- By Inheritance
- CharLiteralPrinterParser
- DateTimePrinterParser
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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()
- def parse(context: TTBPDateTimeParseContext, text: CharSequence, position: Int): Int
Parses text into date-time information.
Parses text into date-time information.
The context holds information to use during the parse. It is also used to store the parsed date-time information.
- context
the context to use and parse into, not null
- text
the input text to parse, not null
- position
the position to start parsing at, from 0 to the text length
- returns
the new parse position, where negative means an error with the error position encoded using the complement ~ operator
- Definition Classes
- CharLiteralPrinterParser → DateTimePrinterParser
- Exceptions thrown
IndexOutOfBoundsException
if the position is invalidNullPointerException
if the context or text is null
- def print(context: TTBPDateTimePrintContext, buf: StringBuilder): Boolean
Prints the date-time object to the buffer.
Prints the date-time object to the buffer.
The context holds information to use during the print. It also contains the date-time information to be printed.
The buffer must not be mutated beyond the content controlled by the implementation.
- context
the context to print using, not null
- buf
the buffer to append to, not null
- returns
false if unable to query the value from the date-time, true otherwise
- Definition Classes
- CharLiteralPrinterParser → DateTimePrinterParser
- Exceptions thrown
DateTimeException
if the date-time cannot be printed successfully
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- CharLiteralPrinterParser → 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()