public interface DateFormatter
TemporalAccessors.| Modifier and Type | Method and Description |
|---|---|
String |
format(TemporalAccessor accessor)
Formats a
TemporalAccessor into a String. |
<T extends TemporalAccessor> |
parse(String input,
Class<T> type)
Parses a String into a
TemporalAccessor. |
String format(TemporalAccessor accessor)
TemporalAccessor into a String.accessor - must not be null<T extends TemporalAccessor> T parse(String input, Class<T> type)
TemporalAccessor.T - the TemporalAccessor implementationinput - the String to parse, must not be nulltype - the class of TCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.