Skip to main content

release_at

Function release_at 

Source
pub fn release_at(
    hours: &QuietHours,
    now: DateTime<Utc>,
) -> Result<Option<DateTime<Utc>>, FollowupError>
Expand description

Earliest future real instant outside quiet hours, or None when permitted now. Candidate boundaries include both fold ends and timezone transitions, so a nonexistent end releases at the first real instant outside the interval.