Struct oni_comb_crond_rs::CronSchedule
source · pub struct CronSchedule<Tz>where
Tz: TimeZone,{ /* private fields */ }
Expand description
Facade that returns a CronInterval or CronIntervalIterator from a CROND string.
CROND文字列からCronIntervalやCronIntervalIteratorを返すFacade。
Implementations§
source§impl<Tz: TimeZone> CronSchedule<Tz>
impl<Tz: TimeZone> CronSchedule<Tz>
sourcepub fn cron_interval(
&self,
start: DateTime<Tz>
) -> CronInterval<Tz, CronSpecification>
pub fn cron_interval( &self, start: DateTime<Tz> ) -> CronInterval<Tz, CronSpecification>
Returns a CronInterval with date and time candidates after the start date and time.
開始日時以降の日時候補を持つCronIntervalを返す。
sourcepub fn upcoming(
&self,
start: DateTime<Tz>
) -> CronIntervalIterator<Tz, CronSpecification> ⓘ
pub fn upcoming( &self, start: DateTime<Tz> ) -> CronIntervalIterator<Tz, CronSpecification> ⓘ
Returns a CronIntervalIterator with the date and time candidates after the start date and time.
開始日時以降の日時候補を持つCronIntervalIteratorを返す。
Auto Trait Implementations§
impl<Tz> Freeze for CronSchedule<Tz>
impl<Tz> RefUnwindSafe for CronSchedule<Tz>where
Tz: RefUnwindSafe,
impl<Tz> Send for CronSchedule<Tz>where
Tz: Send,
impl<Tz> Sync for CronSchedule<Tz>where
Tz: Sync,
impl<Tz> Unpin for CronSchedule<Tz>where
Tz: Unpin,
impl<Tz> UnwindSafe for CronSchedule<Tz>where
Tz: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more