Class FmtZonedDateTime

  • All Implemented Interfaces:
    CellProcessor

    public class FmtZonedDateTime
    extends AbstractTemporalAccessorFormattingProcessor<java.time.ZonedDateTime>
    Converts a ZonedDateTime to a String. For constructors using DateTimeFormatter, refer to the following classes:
    • DateTimeFormatter - formats by pattern and style
    • DateTimeFormatterBuilder - complex formats created via method calls
    Since:
    2.4.0
    • Constructor Summary

      Constructors 
      Constructor Description
      FmtZonedDateTime()
      Constructs a new FmtZonedDateTime processor, which formats a ZonedDateTime as a String.
      FmtZonedDateTime​(java.time.format.DateTimeFormatter formatter)
      Constructs a new FmtZonedDateTime processor, which formats a ZonedDateTime as a String using the supplied formatter.
      FmtZonedDateTime​(java.time.format.DateTimeFormatter formatter, CellProcessor next)
      Constructs a new FmtZonedDateTime processor, which formats a ZonedDateTime as a String using the supplied formatter, then calls the next processor in the chain.
      FmtZonedDateTime​(CellProcessor next)
      Constructs a new FmtZonedDateTime processor, which formats a ZonedDateTime as a String, then calls the next processor in the chain.
    • Constructor Detail

      • FmtZonedDateTime

        public FmtZonedDateTime()
        Constructs a new FmtZonedDateTime processor, which formats a ZonedDateTime as a String.
      • FmtZonedDateTime

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

        public FmtZonedDateTime​(java.time.format.DateTimeFormatter formatter)
        Constructs a new FmtZonedDateTime processor, which formats a ZonedDateTime as a String using the supplied formatter.
        Parameters:
        formatter - the formatter to use
        Throws:
        java.lang.NullPointerException - if formatter is null
      • FmtZonedDateTime

        public FmtZonedDateTime​(java.time.format.DateTimeFormatter formatter,
                                CellProcessor next)
        Constructs a new FmtZonedDateTime processor, which formats a ZonedDateTime 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:
        java.lang.NullPointerException - if formatter or next is null