@@ -255,18 +239,6 @@ public abstract class BaseDateTimeType extends PrimitiveType
- * Note that this method sets the
- * same value as {@link #setNanos(long)} but with less precision.
- *
@@ -313,29 +269,6 @@ public abstract class BaseDateTimeType extends PrimitiveType
- * Note that this method sets the
- * same value as {@link #setMillis(int)} but with more precision.
- *
+ * Note that this method sets the
+ * same value as {@link #setNanos(long)} but with less precision.
+ *
+ * Note that this method sets the
+ * same value as {@link #setMillis(int)} but with more precision.
+ * null
if no timezone was
* supplied.
*/
public TimeZone getTimeZone() {
if (myTimeZoneZulu) {
- return TimeZone.getTimeZone("Z");
+ return TimeZone.getTimeZone("GMT");
}
return myTimeZone;
}
- public BaseDateTimeType setTimeZone(TimeZone theTimeZone) {
- myTimeZone = theTimeZone;
- myTimeZoneZulu = false;
- updateStringValue();
- return this;
- }
-
/**
* Returns the value of this object as a {@link GregorianCalendar}
*/
@@ -432,14 +337,6 @@ public abstract class BaseDateTimeType extends PrimitiveTypetrue
if this object represents a date that is today's date
- *
+ *
* @throws NullPointerException
* if {@link #getValue()} returns null
*/
@@ -602,6 +492,14 @@ public abstract class BaseDateTimeType extends PrimitiveType