Exemplo n.º 1
0
    // --------------------------------------------------------------

    static void Main(string[] args)
    {
      var schedule = new Repeatedly
        (new DateTime(2011, 3, 6), new TimeSpan(7, 0, 0, 0));
      var next = GetNextOccurrence(schedule);
      Console.WriteLine(next);
    }
Exemplo n.º 2
0
        // --------------------------------------------------------------

        static void Main(string[] args)
        {
            var schedule = new Repeatedly
                               (new DateTime(2011, 3, 6), new TimeSpan(7, 0, 0, 0));
            var next = GetNextOccurrence(schedule);

            Console.WriteLine(next);
        }