Package io.quarkus.vault.runtime
Class DurationHelper
java.lang.Object
io.quarkus.vault.runtime.DurationHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DurationfromSeconds(Long seconds) static DurationfromVaultDuration(Integer seconds) static DurationfromVaultDuration(String duration) static IntegertoDurationSeconds(Duration duration) static LongtoLongDurationSeconds(Duration duration) static StringtoStringDurationSeconds(Duration duration) static StringtoVaultDuration(Duration duration)
-
Constructor Details
-
DurationHelper
public DurationHelper()
-
-
Method Details
-
toVaultDuration
-
toDurationSeconds
-
toLongDurationSeconds
-
toStringDurationSeconds
-
fromSeconds
-
fromVaultDuration
-
fromVaultDuration
-