Skip to content

Commit

Permalink
Added DateUtil.FORMAT_YY_MM_DD_HH
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmx committed Jan 27, 2011
1 parent 2af242a commit cfd7d0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/mongoste/util/DateUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
*/
public class DateUtil {
public static final SimpleDateFormat FORMAT_ISO8601 = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
public static final SimpleDateFormat FORMAT_YY_MM_DD = new SimpleDateFormat("yyyy-M-dd");
public static final SimpleDateFormat FORMAT_YY_MM_DD = new SimpleDateFormat("yyyy-M-dd");
public static final SimpleDateFormat FORMAT_YY_MM_DD_HH = new SimpleDateFormat("yyyy-M-dd HH");

private final static TimeZone gmtTimeZone = new SimpleTimeZone(0, "GMT");

Expand Down

0 comments on commit cfd7d0f

Please sign in to comment.