package ar.com.acf.time.format;

import org.joda.time.DateTimeZone;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;

public class DateFormatUtils {


    /**
     * Formatter with pattern yyyy-MM-dd'T'HH:mm:ss.SSS
     */
    public static final DateTimeFormatter STD_DATE_TIME_FORMATTER = DateTimeFormat.forPattern("yyyy-MM-dd'T'HH:mm:ss.SSS")
        .withZone(DateTimeZone.UTC);

    /**
     * Formatter with pattern yyyy-MM-dd
     */
    public static final DateTimeFormatter STD_DATE_FORMATTER = DateTimeFormat.forPattern("yyyy-MM-dd").withZone(
        DateTimeZone.UTC);

    /**
     * Formatter with pattern yyyyMMddHHmmssSSS
     */
    public static final DateTimeFormatter COMPRESSED_DATE_FORMATTER_WITH_MILLIS = DateTimeFormat.forPattern(
        "yyyyMMddHHmmssSSS").withZone(DateTimeZone.UTC);

    /**
     * Formatter with pattern yyyyMMdd
     */
    public static final DateTimeFormatter COMPRESSED_DATE_FORMATTER = DateTimeFormat.forPattern("yyyyMMdd").withZone(
        DateTimeZone.UTC);

    /**
     * Formatter with pattern ddMMyyyy
     */
    public static final DateTimeFormatter COMPRESSED_FRENCH_DATE_FORMATTER = DateTimeFormat.forPattern("ddMMyyyy").withZone(
        DateTimeZone.UTC);

    /**
     * Formatter with pattern dd/MM/yyyy
     */
    public static final DateTimeFormatter FRENCH_DATE_FORMATTER = DateTimeFormat.forPattern("dd/MM/yyyy").withZone(
        DateTimeZone.UTC);

    /**
     * Formatter with pattern MMyy
     */
    public static final DateTimeFormatter CC_EXPIRY_DATE_FORMATTER = DateTimeFormat.forPattern("MMyy").withZone(
        DateTimeZone.UTC);

    /**
     * Formatter with pattern yyyy-MM
     */
    public static final DateTimeFormatter YEAR_MONTH_DATE_FORMATTER = DateTimeFormat.forPattern("yyyy-MM").withZone(
        DateTimeZone.UTC);

    /**
     * Formatter with pattern dd-MM-yyyy
     */
    public static final DateTimeFormatter DAY_MONTH_YEAR_DATE_FORMATTER = DateTimeFormat.forPattern("dd-MM-yyyy").withZone(
        DateTimeZone.UTC);

    /**
     * Formatter with pattern yyyy-MM-dd HH:mm
     * 
     * Ready for java.sql.Date conversion
     */
    public static final DateTimeFormatter SQL_DATE_FORMATTER = DateTimeFormat.forPattern("yyyy-MM-dd HH:mm");

}

@@ -30,43 +30,8 @@
 t;%0A%0A
-import org.joda.time.DateTimeZone;%0A
 impo
@@ -363,33 +363,20 @@
 withZone
-(DateTimeZone.
 UTC
+(
 );%0A%0A    
@@ -543,34 +543,12 @@
 Zone
-(%0A        DateTimeZone.
 UTC
+(
 );%0A%0A
@@ -761,25 +761,12 @@
 Zone
-(DateTimeZone.
 UTC
+(
 );%0A%0A
@@ -940,34 +940,12 @@
 Zone
-(%0A        DateTimeZone.
 UTC
+(
 );%0A%0A
@@ -1126,34 +1126,12 @@
 Zone
-(%0A        DateTimeZone.
 UTC
+(
 );%0A%0A
@@ -1305,34 +1305,12 @@
 Zone
-(%0A        DateTimeZone.
 UTC
+(
 );%0A%0A
@@ -1475,34 +1475,12 @@
 Zone
-(%0A        DateTimeZone.
 UTC
+(
 );%0A%0A
@@ -1652,34 +1652,12 @@
 Zone
-(%0A        DateTimeZone.
 UTC
+(
 );%0A%0A
@@ -1839,34 +1839,12 @@
 Zone
-(%0A        DateTimeZone.
 UTC
+(
 );%0A%0A
@@ -2064,13 +2064,27 @@
  HH:mm%22)
+.withZoneUTC()
 ;%0A%0A%7D%0A

Use method in order to set UTC time zone