pub struct Config { /* fields omitted */ }A collection of parameters that can influence the interpretation
of time expressions.
Constructs an expression with the default parameters.
Returns a copy of the configuration parameters with the "now" moment
set to the parameter supplied.
Returns a copy of the configuration parameters with whether
Monday is regarded as the first day of the week set to the parameter
supplied. By default Monday is regarded as the first day. If this
parameter is set to false, Sunday will be regarded as the first weekday.
Returns a copy of the configuration parameters with the pay period
length in days set to the parameter supplied. The default pay period
length is 7 days.
Returns a copy of the configuration parameters with the reference start
date for a pay period set to the parameter supplied. By default this date
is undefined. Unless it is defined, expressions containing the phrase "pay period"
or "pp" cannot be interpreted.
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static