|
static Date | parse (String date) throws ParseException |
|
static String | format (Date date) |
|
static String | format (long time) |
|
static boolean | before (Date date, long time) throws ParseException |
|
static boolean | after (Date date, long time) throws ParseException |
|
static String | getContentType (File file) |
|
static String | getContentType (String file) |
|
- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 30 of file WdFormats.java.
◆ after()
static boolean org.turro.wd.common.entities.WdFormats.after |
( |
Date |
date, |
|
|
long |
time |
|
) |
| throws ParseException |
|
static |
◆ before()
static boolean org.turro.wd.common.entities.WdFormats.before |
( |
Date |
date, |
|
|
long |
time |
|
) |
| throws ParseException |
|
static |
◆ format() [1/2]
static String org.turro.wd.common.entities.WdFormats.format |
( |
Date |
date | ) |
|
|
static |
Definition at line 40 of file WdFormats.java.
41 return dateFormat.format(date);
◆ format() [2/2]
static String org.turro.wd.common.entities.WdFormats.format |
( |
long |
time | ) |
|
|
static |
Definition at line 44 of file WdFormats.java.
45 return dateFormat.format(
new Date(time));
◆ getContentType() [1/2]
static String org.turro.wd.common.entities.WdFormats.getContentType |
( |
File |
file | ) |
|
|
static |
◆ getContentType() [2/2]
static String org.turro.wd.common.entities.WdFormats.getContentType |
( |
String |
file | ) |
|
|
static |
◆ parse()
static Date org.turro.wd.common.entities.WdFormats.parse |
( |
String |
date | ) |
throws ParseException |
|
static |
◆ MIME_TYPES_FILE_MAP
final MimetypesFileTypeMap org.turro.wd.common.entities.WdFormats.MIME_TYPES_FILE_MAP = new MimetypesFileTypeMap() |
|
static |
The documentation for this class was generated from the following file: