Package net.sourceforge.fullsync.schedule

Examples of net.sourceforge.fullsync.schedule.Schedule


    long now = System.currentTimeMillis();
    long nextTime = Long.MAX_VALUE;
    Profile nextProfile = null;

    for (Profile p : profiles) {
      Schedule s = p.getSchedule();
      if (p.isEnabled() && (s != null)) {
        long o = s.getNextOccurrence(now);
        if (nextTime > o) {
          nextTime = o;
          nextProfile = p;
        }
      }
View Full Code Here

TOP

Related Classes of net.sourceforge.fullsync.schedule.Schedule

Copyright © 2018 www.massapicom. 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.