public class FormattedDate extends Date
FormattedDate fornece uma extensão de
java.util.Date que já formata a data no formato mais comum.
Caso necessário, é possível fornecer um formatador diferente do padrão.| Constructor and Description |
|---|
FormattedDate(long date) |
FormattedDate(long date,
DateFormat formatter) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
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 FormattedDate(long date)
public FormattedDate(long date,
DateFormat formatter)
Copyright © 2017. All rights reserved.