Class FmtLocalTime

All Implemented Interfaces:
CellProcessor

public class FmtLocalTime extends AbstractTemporalAccessorFormattingProcessor<LocalTime>
Converts a LocalTime to a String. For constructors using DateTimeFormatter, refer to the following classes:
Since:
2.4.0
  • Constructor Details

    • FmtLocalTime

      public FmtLocalTime()
      Constructs a new FmtLocalTime processor, which formats a LocalTime as a String.
    • FmtLocalTime

      public FmtLocalTime(CellProcessor next)
      Constructs a new FmtLocalTime processor, which formats a LocalTime as a String, then calls the next processor in the chain.
      Parameters:
      next - next processor in the chain
      Throws:
      NullPointerException - if next is null
    • FmtLocalTime

      public FmtLocalTime(DateTimeFormatter formatter)
      Constructs a new FmtLocalTime processor, which formats a LocalTime as a String using the supplied formatter.
      Parameters:
      formatter - the formatter to use
      Throws:
      NullPointerException - if formatter is null
    • FmtLocalTime

      public FmtLocalTime(DateTimeFormatter formatter, CellProcessor next)
      Constructs a new FmtLocalTime processor, which formats a LocalTime as a String using the supplied formatter, then calls the next processor in the chain.
      Parameters:
      formatter - the formatter to use
      next - the next processor in the chain
      Throws:
      NullPointerException - if formatter or next is null
  • Method Details