public class ZfDateDay extends ZfDate
The ZUGFeRD Date with year, month and day. Time
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CODE
The code format.
|
static java.lang.String |
DATE_PATTERN
The date pattern.
|
Constructor and Description |
---|
ZfDateDay()
Instantiates a new zf date day.
|
ZfDateDay(java.util.Date date)
Instantiates a new zf date day.
|
ZfDateDay(long date)
Instantiates a new zf date day.
|
ZfDateDay(java.lang.String formattedDate)
Instantiates a new zf date day.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFormatCode()
Gets the format code.
|
java.text.SimpleDateFormat |
getFormatter()
Gets the formatter.
|
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, UTC
public static final java.lang.String CODE
The code format.
public static final java.lang.String DATE_PATTERN
The date pattern.
public ZfDateDay()
Instantiates a new zf date day.
public ZfDateDay(java.util.Date date)
Instantiates a new zf date day.
date
- the datepublic ZfDateDay(long date)
Instantiates a new zf date day.
date
- the datepublic ZfDateDay(java.lang.String formattedDate)
Instantiates a new zf date day.
formattedDate
- the formatted datepublic java.lang.String getFormatCode()
Gets the format code.
getFormatCode
in class ZfDate
public java.text.SimpleDateFormat getFormatter()
Gets the formatter.
Copyright © 2014-2018 Konik.io. All Rights Reserved.