Giter Site home page Giter Site logo

tql.cronexpression's Introduction

Stories in Ready

CronExpression

What is CronExpression

CronExpression is .NET CRON expression validator and fire time evaluator. It pretend to support the broadest spectrum of available syntax. It’s even powerful enough to point why you’re expression is wrong!

Latest release

Version 3.0

  • Support mixable complex types such as L, LW, W, #, -(range), /(Hyphen), *(star) in defined by CRON rules segment

  • Support expression in two modes: Modern(with second and year segment), Old(without second and year segment)

  • Improved expression analysis.

  • Support for nonstandard defintions

  • Nuget availibility (Install-Package TQL.CronExpression)

Features

Typing expression is allowed in two formats, standard and nonstandard.

Supported nonstandard definitions are:

  • @annual

  • @yearly

  • @monthly

  • @weekly

  • @daily

  • @hourly

Standard definitions are:

Feature

Parser

Expression Validator

Evaluator

*

Supported

Supported

Supported

,

Supported

Supported

Supported

-

Supported

Supported

Supported

/

Supported

Supported

Supported

?

Supported

Supported(DayOfMonth,DayOfWeek)

Supported(DayOfMonth,DayOfWeek)

L

Supported

Supported

Supported

W

Supported

Supported(DayOfMonth)

Supported(DayOfMonth)

LW

Supported

Supported(DayOfMonth)

Supported(DayOfMonth)

#

Supported

Supported(DayOfWeek)

Supported(DayOfWeek)

Errors

Supported

Supported

Not Applicable

 

API & Documentation

To successfully use this library, you won’t need to learn a lot, just read short introduction in appropriate section of documentation (go here). If you would like to bring something new to library, open new issue.

Contribute

If you like this library, please appreciate my effort. You can do it by creating fixes, new features, reporting issues or starring library. Feel free to report ideas, It's good place to consider implementation of it.

License

This library is based on MIT license.

tql.cronexpression's People

Contributors

puchaczov avatar waffle-iron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tql.cronexpression's Issues

Nullable DateTime in evaluator

When expression point to last possible date, another call of NextFire() must return null instead of throwing exception.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.