Harmonize Period conversion support
Closes gh-21574
This commit is contained in:
@@ -31,11 +31,10 @@ import org.springframework.util.ObjectUtils;
|
||||
*
|
||||
* @author Eddú Meléndez
|
||||
* @author Edson Chávez
|
||||
* @since 2.3.0
|
||||
* @see PeriodFormat
|
||||
* @see PeriodUnit
|
||||
*/
|
||||
public class PeriodToStringConverter implements GenericConverter {
|
||||
final class PeriodToStringConverter implements GenericConverter {
|
||||
|
||||
@Override
|
||||
public Set<ConvertiblePair> getConvertibleTypes() {
|
||||
|
||||
@@ -32,11 +32,10 @@ import org.springframework.util.ObjectUtils;
|
||||
*
|
||||
* @author Eddú Meléndez
|
||||
* @author Edson Chávez
|
||||
* @since 2.3.0
|
||||
* @see PeriodFormat
|
||||
* @see PeriodUnit
|
||||
*/
|
||||
public class StringToPeriodConverter implements GenericConverter {
|
||||
final class StringToPeriodConverter implements GenericConverter {
|
||||
|
||||
@Override
|
||||
public Set<GenericConverter.ConvertiblePair> getConvertibleTypes() {
|
||||
|
||||
Reference in New Issue
Block a user