public abstract class ZfDate extends Date
ZUGFeRD Specific Date with a format code.
| Constructor and Description |
|---|
ZfDate()
Instantiates a new zf date.
|
ZfDate(Date date)
Instantiates a new zf date.
|
ZfDate(long date)
Instantiates a new zf date.
|
ZfDate(String formattedDate)
Instantiates a new zf date with the formatted date string
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getFormatCode()
The format code for the String representation of the Date.
|
void |
setDate(String formattedDate)
Sets the date based on the provided formatted date string.
|
String |
toString()
the String representation of the date applying the format given by the code.
|
after, before, clone, compareTo, equals, from, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toInstant, toLocaleString, UTCpublic ZfDate()
Instantiates a new zf date.
public ZfDate(long date)
Instantiates a new zf date.
date - the datepublic abstract String getFormatCode()
The format code for the String representation of the Date.
public void setDate(String formattedDate)
Sets the date based on the provided formatted date string.
formattedDate - the new dateCopyright © 2014-2016 Konik.io. All Rights Reserved.