Class FastDateParser.ISO8601TimeZoneStrategy

Enclosing class:
FastDateParser

private static class FastDateParser.ISO8601TimeZoneStrategy extends FastDateParser.PatternStrategy
  • Field Details

  • Constructor Details

    • ISO8601TimeZoneStrategy

      ISO8601TimeZoneStrategy(String pattern)
      Constructs a Strategy that parses a TimeZone
      Parameters:
      pattern - The Pattern
  • Method Details

    • setCalendar

      void setCalendar(FastDateParser parser, Calendar calendar, String value)
      Specified by:
      setCalendar in class FastDateParser.PatternStrategy
    • getStrategy

      static FastDateParser.Strategy getStrategy(int tokenLen)
      Factory method for ISO8601TimeZoneStrategies.
      Parameters:
      tokenLen - a token indicating the length of the TimeZone String to be formatted.
      Returns:
      a ISO8601TimeZoneStrategy that can format TimeZone String of length tokenLen. If no such strategy exists, an IllegalArgumentException will be thrown.