Class DateTimePrintContext

java.lang.Object
org.threeten.bp.format.DateTimePrintContext

public final class DateTimePrintContext extends Object
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.
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Returns a string version of the context for debugging.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the context, not null