public static class DateTimePrinter.EmptyDateTimePrinter extends DatePrinter.EmptyDatePrinter implements DateTimePrinter
DateTimePrinter.EmptyDateTimePrinter, DateTimePrinter.JavaDateTimePrinter
DatePrinter.EmptyDatePrinter, DatePrinter.JavaDatePrinter
Constructor and Description |
---|
EmptyDateTimePrinter() |
Modifier and Type | Method and Description |
---|---|
DateTimePrinter |
appendDST()
Append an explanatory string to the printed date if it is in Daylight Saving Time.
|
String |
print(FormatStyle dateStyle,
FormatStyle timeStyle)
Print with specified FormatStyles.
|
print, print, print
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
of, of, of
print, print, print
public String print(FormatStyle dateStyle, FormatStyle timeStyle)
DateTimePrinter
print
in interface DateTimePrinter
dateStyle
- the formatter style to use for the date part, not nulltimeStyle
- the formatter style to use for the time part, not nullpublic DateTimePrinter appendDST()
DatePrinter
appendDST
in interface DatePrinter
appendDST
in interface DateTimePrinter
appendDST
in class DatePrinter.EmptyDatePrinter
DatePrinter.appendDST()
Copyright © 2007–2019 Hippo B.V. (http://www.onehippo.com). All rights reserved.