Class/Object

org.threeten.bp.format.internal

TTBPDateTimePrintContext

Related Docs: object TTBPDateTimePrintContext | package internal

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    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)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

    Permalink

    Ends the printing of an optional segment of the input.

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def getLocale: Locale

    Permalink

    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

  12. def getSymbols: DecimalStyle

    Permalink

    Gets the formatting symbols.

    Gets the formatting symbols.

    The symbols control the localization of numeric output.

    returns

    the formatting symbols, not null

  13. def getTemporal: TemporalAccessor

    Permalink

    Gets the temporal object being output.

    Gets the temporal object being output.

    returns

    the temporal object, not null

  14. def getValue(field: TemporalField): Long

    Permalink

    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

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

    Permalink

    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

  16. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

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

    Permalink

    Sets the date-time being output.

    Sets the date-time being output.

    temporal

    the date-time object, not null

  22. def setLocale(locale: Locale): Unit

    Permalink

    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

  23. def startOptional(): Unit

    Permalink

    Starts the printing of an optional segment of the input.

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

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink

    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
  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped