protected void appendTimeString(StringBuffer result) { if ((this.getHour() / 10) == 0) { result.append(0); } result.append(this.getHour()); result.append(':'); if ((this.getMinute() / 10) == 0) { result.append(0); } result.append(this.getMinute()); result.append(':'); if ((this.getSeconds() / 10) == 0) { result.append(0); } result.append(this.getSeconds()); if (this.getMilli() != 0) { result.append('.'); if (this.getMilli() < 100) { result.append('0'); if (this.getMilli() < 10) { result.append('0'); } } result.append(this.getMilli()); } }
protected void appendTimeString(StringBuffer result) { if ((this.getHour()/10) == 0) { result.append(0); } result.append(this.getHour()); result.append(':'); if ((this.getMinute() / 10) == 0) { result.append(0); } result.append(this.getMinute()); result.append(':'); if ((this.getSeconds() / 10) == 0) { result.append(0); } result.append(this.getSeconds()); if (this.getMilli() != 0) { result.append('.'); if (this.getMilli() < 100){ result.append('0'); if (this.getMilli() < 10){ result.append('0'); } } result.append(this.getMilli()); } }
field1 = date1.getSeconds(); field2 = date2.getSeconds(); if (field1 < field2) { return LESS_THAN;
field1 = date1.getSeconds(); field2 = date2.getSeconds(); if (field1 < field2) { return LESS_THAN;