Class TimeConversionUtils (2.55.0)

public class TimeConversionUtils

Inheritance

java.lang.Object > TimeConversionUtils

Static Methods

toJavaTimeDuration(Duration source)

public static Duration toJavaTimeDuration(Duration source)
Parameter
Name Description
source org.threeten.bp.Duration
Returns
Type Description
Duration

toJavaTimeInstant(Instant source)

public static Instant toJavaTimeInstant(Instant source)
Parameter
Name Description
source org.threeten.bp.Instant
Returns
Type Description
Instant

toThreetenDuration(Duration source)

public static Duration toThreetenDuration(Duration source)
Parameter
Name Description
source Duration
Returns
Type Description
org.threeten.bp.Duration

toThreetenInstant(Instant source)

public static Instant toThreetenInstant(Instant source)
Parameter
Name Description
source Instant
Returns
Type Description
org.threeten.bp.Instant

Constructors

TimeConversionUtils()

public TimeConversionUtils()