pub fn apply_date_offset(
timestamp: &str,
offset: DateOffset,
) -> Result<i64, DateRangeError>Expand description
Apply a date offset to a timestamp string and return nanoseconds since epoch.
This mirrors pd.Timestamp(timestamp) + pd.offsets.<Offset>(n) for the
supported offsets.