protected void appendSecondOfMinute(int digits) { builder.appendSecondOfMinute(digits); appendNumericField(DateTimeFieldType.secondOfMinute(), digits); } protected void appendFractionOfSecond(int minDigits, int maxDigits) {
private static DateTimeFormatter secondElement() { if (sme == null) { return new DateTimeFormatterBuilder() .appendLiteral(':') .appendSecondOfMinute(2) .toFormatter(); } return sme; }
private static DateTimeFormatter secondElement() { if (sme == null) { return new DateTimeFormatterBuilder() .appendLiteral(':') .appendSecondOfMinute(2) .toFormatter(); } return sme; }
bld.appendSecondOfMinute(2); } else if (milli) { bld.appendLiteral('-');
bld.appendSecondOfMinute(2); } else if (milli) { bld.appendLiteral('-');
break; case 's': // second of minute (number) builder.appendSecondOfMinute(tokenLen); break; case 'S': // fraction of second (number)
break; case 's': // second of minute (number) builder.appendSecondOfMinute(tokenLen); break; case 'S': // fraction of second (number)
.appendMinuteOfHour(2) .appendLiteral(':') .appendSecondOfMinute(2) .appendLiteral(' ') .appendHalfdayOfDayText(); case 'S': // %S Seconds (00..59) case 's': // %s Seconds (00..59) builder.appendSecondOfMinute(2); break; case 'T': // %T Time, 24-hour (hh:mm:ss) .appendMinuteOfHour(2) .appendLiteral(':') .appendSecondOfMinute(2); break; case 'v': // %v Week (01..53), where Monday is the first day of the week; used with %x
builder.appendMinuteOfHour(2); builder.appendLiteral(':'); builder.appendSecondOfMinute(2); builder.appendLiteral(' '); builder.appendYear(4,4); builder.appendMinuteOfHour(2); builder.appendLiteral(':'); builder.appendSecondOfMinute(2); builder.appendLiteral(' '); builder.appendHalfdayOfDayText(); break; case 'S': builder.appendSecondOfMinute(2); break; case 't': builder.appendMinuteOfHour(2); builder.appendLiteral(':'); builder.appendSecondOfMinute(2); break;
builder.appendSecondOfMinute(2); } else if (alwaysPad || JodaTimeUtils.isMoreGeneral(DateTimeFieldType.secondOfMinute(), sdft, base.getChronology())) { builder.appendLiteral(":");
private static DateTimeFormatter secondElement() { if (sme == null) { sme = new DateTimeFormatterBuilder() .appendLiteral(':') .appendSecondOfMinute(2) .toFormatter(); } return sme; }
bld.appendSecondOfMinute(2); } else if (milli) { bld.appendLiteral('-');
bld.appendSecondOfMinute(2); } else if (milli) { bld.appendLiteral('-');
break; case 's': // second of minute (number) builder.appendSecondOfMinute(tokenLen); break; case 'S': // fraction of second (number)
private static DateTimeFormatter secondElement() { if (sme == null) { return new DateTimeFormatterBuilder() .appendLiteral(':') .appendSecondOfMinute(2) .toFormatter(); } return sme; }
private static DateTimeFormatter secondElement() { if (sme == null) { return new DateTimeFormatterBuilder() .appendLiteral(':') .appendSecondOfMinute(2) .toFormatter(); } return sme; }
private static DateTimeFormatter secondElement() { if (sme == null) { return new DateTimeFormatterBuilder() .appendLiteral(':') .appendSecondOfMinute(2) .toFormatter(); } return sme; }
private static DateTimeFormatter secondElement() { if (sme == null) { sme = new DateTimeFormatterBuilder() .appendLiteral(':') .appendSecondOfMinute(2) .toFormatter(); } return sme; }
private static DateTimeFormatter secondElement() { if (sme == null) { sme = new DateTimeFormatterBuilder() .appendLiteral(':') .appendSecondOfMinute(2) .toFormatter(); } return sme; }
private static DateTimeFormatter secondElement() { if (sme == null) { return new DateTimeFormatterBuilder() .appendLiteral(':') .appendSecondOfMinute(2) .toFormatter(); } return sme; }