Class DurationTypeAutoboxer
- java.lang.Object
-
- org.jobrunr.utils.reflection.autobox.DurationTypeAutoboxer
-
- All Implemented Interfaces:
TypeAutoboxer<java.time.Duration>
public class DurationTypeAutoboxer extends java.lang.Object implements TypeAutoboxer<java.time.Duration>
-
-
Constructor Summary
Constructors Constructor Description DurationTypeAutoboxer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.Duration
autobox(java.lang.Object value, java.lang.Class<java.time.Duration> type)
boolean
supports(java.lang.Class<?> type)
-
-
-
Method Detail
-
supports
public boolean supports(java.lang.Class<?> type)
- Specified by:
supports
in interfaceTypeAutoboxer<java.time.Duration>
-
autobox
public java.time.Duration autobox(java.lang.Object value, java.lang.Class<java.time.Duration> type)
- Specified by:
autobox
in interfaceTypeAutoboxer<java.time.Duration>
-
-