Package

java.time.format

internal

Permalink

package internal

Visibility
  1. Public
  2. All

Type Members

  1. final class TTBPDateTimeParseContext extends AnyRef

    Permalink

    Context object used during date and time parsing.

    Context object used during date and time parsing.

    This class represents the current state of the parse. It has the ability to store and retrieve the parsed values and manage optional segments. It also provides key information to the parsing methods.

    Once parsing is complete, the #toBuilder() is typically used to obtain a builder that can combine the separate parsed fields into meaningful values.

    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 parsing as a new instance of this class is automatically created for each parse and parsing is single-threaded

  2. final class TTBPDateTimePrintContext extends AnyRef

    Permalink

    Context object used during date and time printing.

    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.

  3. abstract class TTBPDateTimeTextProvider extends AnyRef

    Permalink

    The Service Provider Interface (SPI) to be implemented by classes providing the textual form of a date-time field.

    The Service Provider Interface (SPI) to be implemented by classes providing the textual form of a date-time field.

    Specification for implementors

    This interface is a service provider that can be called by multiple threads. Implementations must be thread-safe. Implementations should cache the textual information.

    This class has been made pubilc primarily for the benefit of Android.

  4. final class TTBPSimpleDateTimeTextProvider extends TTBPDateTimeTextProvider

    Permalink

    The Service Provider Implementation to obtain date-time text for a field.

    The Service Provider Implementation to obtain date-time text for a field.

    This implementation is based on extraction of data from a DateFormatSymbols.

    Specification for implementors

    This class is immutable and thread-safe.

Ungrouped