List of usage examples for org.joda.time YearMonth parse
public static YearMonth parse(String str, DateTimeFormatter formatter)
From source file:br.com.tecsinapse.exporter.converter.YearMonthTableCellConverter.java
License:LGPL
@Override public YearMonth apply(String input) { return Strings.isNullOrEmpty(input) ? null : YearMonth.parse(input, YYYY_MM); }
From source file:google.registry.tools.params.YearMonthParameter.java
License:Open Source License
@Override public YearMonth convert(String value) { return YearMonth.parse(value, ISODateTimeFormat.yearMonth()); }