public class ShortDate extends Date implements CloneableType
Constructor and Description |
---|
ShortDate()
Creates a new instance of 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, UTC
public 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 CloneableType
clone
in class Date
Copyright © 2017. All rights reserved.