Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

snowflake-so/move-cron-parser

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.