Function below_common::cliutil::system_time_from_date_and_adjuster
source · pub fn system_time_from_date_and_adjuster(
date: &str,
days_adjuster: Option<&str>
) -> Result<SystemTime>
Expand description
Convert from date and an optional days adjuster to SystemTime
. Days
adjuster is of form y[y…] to SystemTime
. Each “y” will deduct 1 day
from the resulting time.