Skip to content
Public template

About

Cron parser library written for Move language

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Move language: Cron Parser

A cron parser library for Move language.

Author: This library is written by Snowflake Network.

Quick start guide

Add a library to the dependency list in Move.toml. Use the library by add the line use cron::parser. Now you are ready to parse a cron expression!

Input

let schedule = parser::parse_cron(&b"* * * * *");

Output

ScheduleComponents {
 minutes: [0..60],
 hours: [0..24],
 days: [1..31],
 months: [1..12],
 weekdays: [0..6]
}

About

Cron parser library written for Move language

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages