code typo

This commit is contained in:
gorhill 2013-08-31 08:24:52 -04:00
parent 8af06bafc9
commit 457a81697e
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ You can keep the returned Expression pointer around if you want to reuse it:
expr := cronexpression.Parse("0 0 29 2 *") expr := cronexpression.Parse("0 0 29 2 *")
nextTime := expr.Next(time.Now()) nextTime := expr.Next(time.Now())
... ...
nextTime := expr.Next(nextTime) nextTime = expr.Next(nextTime)
Use `time.IsZero()` to find out whether a valid time was returned. For example, Use `time.IsZero()` to find out whether a valid time was returned. For example,