From a22eb7d9e6be2c9028abac6e849eaabf22aa51f3 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 31 Aug 2013 08:15:58 -0400 Subject: [PATCH] forgot to change remnant of old naming convention --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3741fd5..b19cb7f 100644 --- a/README.md +++ b/README.md @@ -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, - cronexpression.Next("* * * * * 1980", time.Now()).IsZero() + cronexpression.Parse("* * * * * 1980").Next(time.Now()).IsZero() 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...)