Example #1
0
        public static IEnumerable <LocalDateTime> HourlyLocal(LocalDateTimeRange range)
        {
            LocalDateTime c = range.Start;

            while (c < range.End)
            {
                yield return(c);

                c = c.PlusHours(1);
            }
        }
Example #2
0
 public static IEnumerable <Instant> HourlyUtc(LocalDateTimeRange range, string timezone)
 {
     return(HourlyUtc(range.InZone(timezone)));
 }