OpenXPKI::Server::Workflow::Condition::DateTime
Generic class to check a value against a timespec.
is_in_datetime_interval:
class: OpenXPKI::Server::Workflow::Condition::DateTime
param:
notbefore: 20140101000000
notafter: +0001
_map_value: $probe_date
The condition checks if the value given to value is within the bounds given by
notbefore/notafter. Any value accepted by the OpenXPKI::DateTime autodetect
mechanism is useable. To check against "now", set a "0",
to check only against one bound just leave the second parameter undefined.
- value
- The reference to test against.
- notbefore
- notafter
- contextkey (deprecated)
- Legacy parameter - load the value to probe against from this context key.
Should not be used, use the _map_ syntax instead.