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