Home

Time

Properties

The Time type has these properties:

NameDescriptionTypeInherited from
idThe identifier for this item.StringEntity
valueThe time of day as a string in format hh:mm:ss[Z|(+|-)hh:mm].String-

Related

The Time type is related to these types:

Bindings

The Time type is represented in:

Testing

During property-based (a.k.a generative) testing, the properties of the Time type are generated using the following strategies.

PropertyComplexityDescriptionStrategy
valueMin+Generate a fixed date-time string.String::from("2022-02-22T22:22:22")
Low+Generate a random date-time string.Regex [0-2][0-9]:[0-5][0-9]:[0-5][0-9]\.[0-9]+([+-][0-2][0-9]:[0-5][0-9]|Z)
High+Generate a random string of up to 20 alphanumeric characters, colons & hyphens.Regex [a-zA-Z0-9\-:]{1,20}
MaxGenerate an arbitrary string.String::arbitrary()

This documentation was generated from Time.yaml by docs_types.rs.

© 2026 Stencila