| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | formatTo(StringBuilder buf, LocalDateTime dateTime)
Prints the toString result to the given buf, avoiding extra string allocations. |
| public static void | formatTo(StringBuilder buf, LocalDate date)
Prints the toString result to the given buf, avoiding extra string allocations. |
| public static void | formatTo(StringBuilder buf, LocalTime time)
Prints the toString result to the given buf, avoiding extra string allocations. |
| DateTimeHelper | back to summary |
|---|---|
| private DateTimeHelper() | |
| formatTo | back to summary |
|---|---|
| public static void formatTo(StringBuilder buf, LocalDateTime dateTime) Prints the toString result to the given buf, avoiding extra string allocations. | |
| formatTo | back to summary |
|---|---|
| public static void formatTo(StringBuilder buf, LocalDate date) Prints the toString result to the given buf, avoiding extra string allocations. Requires extra capacity of 10 to avoid StringBuilder reallocation. | |
| formatTo | back to summary |
|---|---|
| public static void formatTo(StringBuilder buf, LocalTime time) Prints the toString result to the given buf, avoiding extra string allocations. Requires extra capacity of 18 to avoid StringBuilder reallocation. | |