public class ShortDate extends Date implements CloneableType
| Constructor and Description |
|---|
ShortDate() |
ShortDate(Date date)
Creates a new Short Date based on a Date value.
|
ShortDate(long time)
Creates a new ShortDate based on a millisecond time.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Returns a duplicate of this object.
|
after, before, compareTo, equals, from, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toInstant, toLocaleString, toString, UTCpublic ShortDate()
public ShortDate(Date date)
date - Date value to read from.public ShortDate(long time)
time - Millisecond time to start with.public Object clone()
clone in interface CloneableTypeclone in class DateCopyright © 2021. All rights reserved.