Package io.cucumber.messages.types
Class Duration
java.lang.Object
io.cucumber.messages.types.Duration
Represents the Duration message in Cucumber's message protocol
The structure is pretty close of the Timestamp one. For clarity, a second type of message is used.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Duration
-
-
Method Details
-
getSeconds
-
getNanos
Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. -
equals
-
hashCode
public int hashCode() -
toString
-