Exemple #1
1
 public void appendTo(StringBuffer buffer, Calendar calendar) {
   int value = calendar.get(Calendar.HOUR_OF_DAY);
   if (value == 0) {
     value = calendar.getMaximum(Calendar.HOUR_OF_DAY) + 1;
   }
   mRule.appendTo(buffer, value);
 }
Exemple #2
0
 public void appendTo(StringBuffer buffer, int value) {
   mRule.appendTo(buffer, value);
 }
Exemple #3
0
 public int estimateLength() {
   return mRule.estimateLength();
 }