public class YearMonthConverter
extends java.lang.Object
implements org.jbehave.core.steps.ParameterConverters.ParameterConverter
| Modifier and Type | Field and Description |
|---|---|
static org.joda.time.format.DateTimeFormatter |
MONTH_YEAR_FORMAT_WITH_DASH |
static org.joda.time.format.DateTimeFormatter |
MONTH_YEAR_FORMAT_WITH_SLASH |
static org.joda.time.format.DateTimeFormatter |
YEAR_MONTH_FORMAT_WITH_DASH |
static org.joda.time.format.DateTimeFormatter |
YEAR_MONTH_FORMAT_WITH_SLASH |
| Constructor and Description |
|---|
YearMonthConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.lang.reflect.Type type) |
java.lang.Object |
convertValue(java.lang.String value,
java.lang.reflect.Type type) |
public static final org.joda.time.format.DateTimeFormatter MONTH_YEAR_FORMAT_WITH_DASH
public static final org.joda.time.format.DateTimeFormatter MONTH_YEAR_FORMAT_WITH_SLASH
public static final org.joda.time.format.DateTimeFormatter YEAR_MONTH_FORMAT_WITH_DASH
public static final org.joda.time.format.DateTimeFormatter YEAR_MONTH_FORMAT_WITH_SLASH
public boolean accept(java.lang.reflect.Type type)
accept in interface org.jbehave.core.steps.ParameterConverters.ParameterConverterpublic java.lang.Object convertValue(java.lang.String value,
java.lang.reflect.Type type)
convertValue in interface org.jbehave.core.steps.ParameterConverters.ParameterConverter