From 6d87e60fc4602e3f037cca84d6657acd415cdf08 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 29 Aug 2013 20:07:47 -0400 Subject: [PATCH] fleshing out --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ffb3917..ff2cfe7 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,10 @@ to create a `CronExpression` object once and keep a copy of it for reuse: cronexpr := cronexpression.NewCronExpression("0 0 29 2 *") nextTime := cronexpr.NextTime(time.Now()) -`Use cronexpression.NoMatch(nextTime)` to find out whether a valid time was returned. For exemple, `cronexpression.NoMatch(cronexpression.NextTimeFromCronString("* * * * * 1980", time.Now()))` will return `true`, whereas `cronexpression.NoMatch(cronexpression.NextTimeFromCronString("* * * * * 2050", time.Now()))` will return false (as of 2013-08-29...) +`Use cronexpression.NoMatch(nextTime)` to find out whether a valid time was returned. For exemple, + cronexpression.NoMatch(cronexpression.NextTimeFromCronString("* * * * * 1980", time.Now())) +will return `true`, whereas + cronexpression.NoMatch(cronexpression.NextTimeFromCronString("* * * * * 2050", time.Now())) +will return false (as of 2013-08-29...)