cron-parser

A Java library that converts cron expressions into human readable strings

License

License

Categories

Categories

Net
GroupId

GroupId

net.redhogs.cronparser
ArtifactId

ArtifactId

cron-parser
Last Version

Last Version

3.5
Release Date

Release Date

Type

Type

jar
Description

Description

cron-parser
A Java library that converts cron expressions into human readable strings
Project Organization

Project Organization

RedHogs
Source Code Management

Source Code Management

https://github.com/RedHogs/cron-parser

Download cron-parser

How to add to project

<!-- https://jarcasting.com/artifacts/net.redhogs.cronparser/cron-parser/ -->
<dependency>
    <groupId>net.redhogs.cronparser</groupId>
    <artifactId>cron-parser</artifactId>
    <version>3.5</version>
</dependency>
// https://jarcasting.com/artifacts/net.redhogs.cronparser/cron-parser/
implementation 'net.redhogs.cronparser:cron-parser:3.5'
// https://jarcasting.com/artifacts/net.redhogs.cronparser/cron-parser/
implementation ("net.redhogs.cronparser:cron-parser:3.5")
'net.redhogs.cronparser:cron-parser:jar:3.5'
<dependency org="net.redhogs.cronparser" name="cron-parser" rev="3.5">
  <artifact name="cron-parser" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.redhogs.cronparser', module='cron-parser', version='3.5')
)
libraryDependencies += "net.redhogs.cronparser" % "cron-parser" % "3.5"
[net.redhogs.cronparser/cron-parser "3.5"]

Dependencies

test (3)

Group / Artifact Type Version
org.slf4j : slf4j-log4j12 jar 1.7.7
log4j : log4j jar 1.2.17
junit : junit jar 4.11

Project Modules

  • cron-parser-core
  • cron-parser-spring

cron-parser

Join the chat at https://gitter.im/grahamar/cron-parser Build Status Stories in Ready

A Java library that converts cron expressions into human readable strings. Translated to Java from https://github.com/bradyholt/cron-expression-descriptor.

Original Author & Credit: Brady Holt (http://www.geekytidbits.com) License: MIT

Features

  • Supports all cron expression special characters including * / , - ? L W, #.
  • Supports 5, 6 (w/ seconds or year), or 7 (w/ seconds and year) part cron expressions.
  • Provides casing options (Sentence, Title, Lower, etc.).
  • Support for non-standard non-zero-based week day numbers.
  • Supports printing to locale specific human readable format (Italian, English, Spanish, Romanian, Dutch, French and Chinese【中文】 so far...).

Download

cron-parser is available in the maven central repository, please select the latest version from there.

Usage Examples (Unit Tests)

See CronExpressionDescriptorTest

Versions

Version
3.5
3.4
3.3
3.0
2.10
2.9
2.8
2.7
2.6
2.5
2.4
2.3
2.2
2.0
1.2
1.1