Home

Date

Properties

The Date type has these properties:

NameDescriptionTypeInherited from
idThe identifier for this item.StringEntity
valueThe date as an ISO 8601 string.String-

Related

The Date type is related to these types:

Bindings

The Date type is represented in:

Testing

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

PropertyComplexityDescriptionStrategy
valueMin+Generate a fixed date string.String::from("2022-02-22")
Low+Generate a random date string.Regex [0-9]{4}-[01][0-9]-[0-3][1-9]
High+Generate a random string of up to 10 alphanumeric characters & hyphens.Regex [a-zA-Z0-9\-]{1,10}
MaxGenerate an arbitrary string.String::arbitrary()

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

© 2026 Stencila