Revision 2079 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/dataTypes/impl/coercion/CoerceToTime.java
CoerceToTime.java | ||
---|---|---|
47 | 47 |
DateFormat.getTimeInstance(DateFormat.SHORT, locale), |
48 | 48 |
DateFormat.getTimeInstance(DateFormat.LONG, locale), |
49 | 49 |
new SimpleDateFormat("H:mm:ss"), |
50 |
new SimpleDateFormat("H:mm") |
|
50 |
new SimpleDateFormat("H:mm"), |
|
51 |
new SimpleDateFormat("HHmmss") // DBF format |
|
51 | 52 |
}; |
52 | 53 |
} |
54 |
|
|
55 |
protected Date now() { |
|
56 |
Date d = new Date(); |
|
57 |
d.setYear(0); |
|
58 |
d.setMonth(0); |
|
59 |
d.setDate(0); |
|
60 |
return d; |
|
61 |
} |
|
53 | 62 |
|
54 | 63 |
@Override |
55 | 64 |
protected String getDateType() { |
Also available in: Unified diff