[][src]Module pact_matching::time_utils

Utilities for dealing with time and date values

Enums

DateTimePatternToken

Tokens for DateTime patterns

Functions

generate_string

Generates a date/time string from the current system clock using the provided format string

parse_pattern

Parses a string into a vector of date/time tokens

to_chrono_pattern

Converts the date time pattern tokens to a chrono formatted string

validate_datetime

Validates the given datetime against the pattern