Class TimeDifferenceFormatter

java.lang.Object
com.github.toolarium.common.formatter.AbstractDifferenceFormatter
com.github.toolarium.common.formatter.TimeDifferenceFormatter

public class TimeDifferenceFormatter extends AbstractDifferenceFormatter
  • Constructor Details

    • TimeDifferenceFormatter

      public TimeDifferenceFormatter()
      Constructor for the TimeDifferenceFormatter.
    • TimeDifferenceFormatter

      public TimeDifferenceFormatter(boolean shortFormat, boolean spaceAfterValue)
      Constructor for the TimeDifferenceFormatter.
      Parameters:
      shortFormat - enable short format
      spaceAfterValue - true to have a space after the value
    • TimeDifferenceFormatter

      public TimeDifferenceFormatter(String pattern, boolean shortFormat, boolean spaceAfterValue)
      Constructor for the TimeDifferenceFormatter.
      Parameters:
      pattern - the pattern
      shortFormat - enable short format
      spaceAfterValue - true to have a space after the value
  • Method Details