public class DateFormatter extends Object
Constructor and Description |
---|
DateFormatter() |
Modifier and Type | Method and Description |
---|---|
Date |
getDate() |
String |
getFormattedDate() |
void |
setDate(Date date) |
void |
setDate(int date) |
void |
setDate(String date) |
void |
setFormat(DateFormat format) |
void |
setFormat(String format) |
void |
setParseFormat(String format) |
void |
setParser(DateFormat parser) |
void |
setTime(long time) |
public void setDate(String date)
public void setDate(Date date)
public void setDate(int date)
public Date getDate()
public void setFormat(String format)
public void setFormat(DateFormat format)
public String getFormattedDate()
public void setParseFormat(String format)
public void setParser(DateFormat parser)
public void setTime(long time)
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.