Interface FastDatePrinter.Rule

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void appendTo​(java.lang.Appendable buf, java.util.Calendar calendar)
      Appends the value of the specified calendar to the output buffer based on the rule implementation.
      int estimateLength()
      Returns the estimated length of the result.
    • Method Detail

      • estimateLength

        int estimateLength()
        Returns the estimated length of the result.
        Returns:
        the estimated length
      • appendTo

        void appendTo​(java.lang.Appendable buf,
                      java.util.Calendar calendar)
               throws java.io.IOException
        Appends the value of the specified calendar to the output buffer based on the rule implementation.
        Parameters:
        buf - the output buffer
        calendar - calendar to be appended
        Throws:
        java.io.IOException - if an I/O error occurs.