Package org.apache.commons.lang3.time
Class FastDateParser.TimeZoneStrategy
- java.lang.Object
-
- org.apache.commons.lang3.time.FastDateParser.TimeZoneStrategy
-
- Enclosing class:
- FastDateParser
static class FastDateParser.TimeZoneStrategy extends Object
A strategy that handles a time zone field in the parsing pattern
-
-
Constructor Summary
Constructors Constructor Description TimeZoneStrategy(Locale locale)Constructs a Strategy that parses a TimeZone
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidsetCalendar(FastDateParser parser, Calendar calendar, String timeZone)StringtoString()Converts this instance to a handy debug string.
-
-
-
Constructor Detail
-
TimeZoneStrategy
TimeZoneStrategy(Locale locale)
Constructs a Strategy that parses a TimeZone- Parameters:
locale- The Locale
-
-
Method Detail
-
setCalendar
void setCalendar(FastDateParser parser, Calendar calendar, String timeZone)
-
toString
public String toString()
Converts this instance to a handy debug string.- Since:
- 3.12.0
-
-