cucumber.runtime.converters
Class CalendarConverter
java.lang.Object
cucumber.runtime.converters.ConverterWithFormat<T>
cucumber.runtime.converters.TimeConverter<Calendar>
cucumber.runtime.converters.CalendarConverter
- All Implemented Interfaces:
- com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter
public class CalendarConverter
- extends TimeConverter<Calendar>
Method Summary |
protected Object |
transform(Format format,
String argument)
Parses a value using one of the java.util.text format classes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalendarConverter
public CalendarConverter(Locale locale)
transform
protected Object transform(Format format,
String argument)
- Description copied from class:
ConverterWithFormat
- Parses a value using one of the java.util.text format classes.
- Overrides:
transform
in class ConverterWithFormat<Calendar>
- Parameters:
format
- The format to useargument
- The object to parse
- Returns:
- The object
Copyright © 2012. All Rights Reserved.