Uses of Class
specialized_checkers.time.CheckerDuration
Packages that use CheckerDuration
-
Uses of CheckerDuration in specialized_checkers.time
Subclasses with type arguments of type CheckerDuration in specialized_checkers.timeModifier and TypeClassDescriptionclass
CheckerDuration is a specialized checker for validating and performing assertions onDuration
values.Methods in specialized_checkers.time that return CheckerDurationModifier and TypeMethodDescriptionstatic CheckerDuration
Creates a new CheckerDuration instance for the given duration with a default name.static CheckerDuration
Creates 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 CheckerDuration
CheckerDuration.self()
Returns this instance (for fluent API usage).