mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Harmonize Period conversion support
Closes gh-21574
This commit is contained in:
parent
744b4d7c26
commit
35121f182e
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user