Uses of Class
com.luchersol.core.specialized_checkers.time.CheckerDuration
Packages that use CheckerDuration
Package
Description
Specialized checkers for temporal and time-related operations.
-
Uses of CheckerDuration in com.luchersol.core.specialized_checkers.time
Subclasses with type arguments of type CheckerDuration in com.luchersol.core.specialized_checkers.timeModifier and TypeClassDescriptionclassA specialized checker forDurationinstances, providing fluent API methods to assert various temporal properties such as positivity, negativity, zero value, and comparisons with other durations or specific temporal units.Methods in com.luchersol.core.specialized_checkers.time that return CheckerDurationModifier and TypeMethodDescriptionstatic CheckerDurationCreates a new CheckerDuration instance for the given duration with a default name.static CheckerDurationCreates a new CheckerDuration instance for the given duration and name.Checks if the duration is equal to another duration.CheckerDuration.isEqual(TemporalUnit temporalUnit, double time) Checks if the duration is equal to the specified time in the given temporal unit.CheckerDuration.isGreaterOrEqualThan(Duration other) Checks if the duration is greater than or equal to another duration.CheckerDuration.isGreaterOrEqualThan(TemporalUnit temporalUnit, double time) Checks if the duration is greater than or equal to the specified time in the given temporal unit.CheckerDuration.isGreaterThan(Duration other) Checks if the duration is greater than another duration.CheckerDuration.isGreaterThan(TemporalUnit temporalUnit, double time) Checks if the duration is greater than the specified time in the given temporal unit.CheckerDuration.isLessOrEqualThan(Duration other) Checks if the duration is less than or equal to another duration.CheckerDuration.isLessOrEqualThan(TemporalUnit temporalUnit, double time) Checks if the duration is less than or equal to the specified time in the given temporal unit.CheckerDuration.isLessThan(Duration other) Checks if the duration is less than another duration.CheckerDuration.isLessThan(TemporalUnit temporalUnit, double time) Checks if the duration is less than the specified time in the given temporal unit.CheckerDuration.isNegative()Checks if the duration is negative (less than zero).CheckerDuration.isPositive()Checks if the duration is positive (greater than zero).CheckerDuration.isZero()Checks if the duration is zero.protected CheckerDurationCheckerDuration.self()Returns this instance (for fluent API usage).