Exemple #1
0
 /**
  * Get the next day of the specified weekday. If today is the specified weekday, then return one
  * week from now.
  */
 public Abstime nextWeekday(int weekday) {
   Abstime t = nextDay();
   while (t.getWeekday() != weekday) t = t.nextDay();
   return t;
 }