org.threeten.bp.format.internal

TTBPDateTimePrintContext

final class TTBPDateTimePrintContext extends AnyRef

Context object used during date and time printing.

This class provides a single wrapper to items used in the print.

Specification for implementors

This class is a mutable context intended for use from a single thread. Usage of the class is thread-safe within standard printing as the framework creates a new instance of the class for each print and printing is single-threaded.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TTBPDateTimePrintContext
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TTBPDateTimePrintContext(temporal: TemporalAccessor, formatter: DateTimeFormatter)

    Creates a new instance of the context.

    Creates a new instance of the context.

    temporal

    the temporal object being output, not null

    formatter

    the formatter controlling the print, not null

  2. new TTBPDateTimePrintContext(temporal: TemporalAccessor, locale: Locale, symbols: DecimalStyle)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def endOptional(): Unit

    Ends the printing of an optional segment of the input.

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def getLocale: Locale

    Gets the locale.

    Gets the locale.

    This locale is used to control localization in the print output except where localization is controlled by the symbols.

    returns

    the locale, not null

  14. def getSymbols: DecimalStyle

    Gets the formatting symbols.

    Gets the formatting symbols.

    The symbols control the localization of numeric output.

    returns

    the formatting symbols, not null

  15. def getTemporal: TemporalAccessor

    Gets the temporal object being output.

    Gets the temporal object being output.

    returns

    the temporal object, not null

  16. def getValue(field: TemporalField): Long

    Gets the value of the specified field.

    Gets the value of the specified field.

    This will return the value for the specified field.

    field

    the field to find, not null

    returns

    the value, null if not found and optional is true

    Exceptions thrown
    DateTimeException

    if the field is not available and the section is not optional

  17. def getValue[R >: Null](query: TemporalQuery[R]): R

    Gets a value using a query.

    Gets a value using a query.

    query

    the query to use, not null

    returns

    the result, null if not found and optional is true

    Exceptions thrown
    DateTimeException

    if the type is not available and the section is not optional

  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def setDateTime(temporal: TemporalAccessor): Unit

    Sets the date-time being output.

    Sets the date-time being output.

    temporal

    the date-time object, not null

  24. def setLocale(locale: Locale): Unit

    Sets the locale.

    Sets the locale.

    This locale is used to control localization in the print output except where localization is controlled by the symbols.

    locale

    the locale, not null

  25. def startOptional(): Unit

    Starts the printing of an optional segment of the input.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Returns a string version of the context for debugging.

    Returns a string version of the context for debugging.

    returns

    a string representation of the context, not null

    Definition Classes
    TTBPDateTimePrintContext → AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped