func ExampleCronRange_NextOccurrences() {
	cr, err := cronrange.New("0 15 * * *", "Pacific/Honolulu", 120)
	if err != nil {
		fmt.Println("fail to create:", err)
		return
	}
	loc, _ := time.LoadLocation("Pacific/Honolulu")
	currTime := time.Date(2019, 11, 9, 16, 55, 0, 0, loc)
	for _, happyHour := range cr.NextOccurrences(currTime, 5) {
		fmt.Println(happyHour)
	}
}
This example lists next 5 daily happy hours of Lava Lava Beach Club after 2019.11.09.
package cronrange_test
import (
	"encoding/json"
	"fmt"
	"time"
	"github.com/1set/cronrange"
)
func ExampleNew() {
	cr, err := cronrange.New("0 0 1 1 *", "Asia/Tokyo", 60*24)
	if err != nil {
		fmt.Println("fail to create:", err)
		return
	}
	fmt.Println(cr)
}
func ExampleParseString() {
	cr, err := cronrange.ParseString("DR=1440;TZ=Asia/Tokyo;0 0 1 1 *")
	if err != nil {
		fmt.Println("fail to create:", err)
		return
	}
	fmt.Println(cr)
}