forgot to change remnant of old naming convention

This commit is contained in:
gorhill 2013-08-31 08:15:58 -04:00
parent 47d3d6e543
commit a22eb7d9e6
1 changed files with 2 additions and 2 deletions

View File

@ -90,11 +90,11 @@ You can keep the returned Expression pointer around if you want to reuse it:
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,
cronexpression.Next("* * * * * 1980", time.Now()).IsZero() cronexpression.Parse("* * * * * 1980").Next(time.Now()).IsZero()
will return `true`, whereas will return `true`, whereas
cronexpression.Next("* * * * * 2050", time.Now()).IsZero() cronexpression.Parse("* * * * * 2050").Next(time.Now()).IsZero()
will return `false` (as of 2013-08-29...) will return `false` (as of 2013-08-29...)