Package com.google.ical.values

Examples of com.google.ical.values.RRule.toIcal()


                     null == last || last.compareTo(dv) < 0);
          last = dv;
        }
      } catch (Throwable th) {
        task.cancel();
        System.err.println("\n" + rrule.toIcal() + " / " + dtStart);
        throw th;
      }
      task.cancel();
      System.err.print(">");
    }
View Full Code Here


        long dt = System.nanoTime() - t0;
        histogram.addSample(dt / 1000)// nanoseconds -> microseconds
        totalGened += countLimit - tries;
      } catch (Throwable th) {
        task.cancel();
        System.err.println("\n" + rrule.toIcal() + " / " + dtStart);
        throw th;
      }
      task.cancel();
      System.err.print(">");
    }
View Full Code Here

    for (int i = 0; i < 10000; ++i) {
      boolean timed = mkt.rnd.nextBoolean();
      RRule rrule = mkt.monkeySeeRRule(timed, false);
      DateValue dtstart = mkt.monkeySeeDateValue(timed);
      System.out.println("BEGIN:VEVENT\nDTSTART:" + dtstart
                         + "\n" + rrule.toIcal() + "\nEND:VEVENT\n");
    }
  }
}

class Histogram {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.