diff --git a/src/main/org/apache/tools/ant/taskdefs/Zip.java b/src/main/org/apache/tools/ant/taskdefs/Zip.java index 490795360..16732786b 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Zip.java +++ b/src/main/org/apache/tools/ant/taskdefs/Zip.java @@ -592,10 +592,10 @@ public class Zip extends MatchingTask { /** * Set all stored file modification times to {@code time}. * @param time Milliseconds since 1970-01-01 00:00, or - * YYYY-MM-DD{T/ }HH:MM[:SS[.SSS]][ ][\u00b1ZZ[[:]ZZ]], or + * YYYY-MM-DD{T/ }HH:MM[:SS[.SSS]][ ][±ZZ[[:]ZZ]], or * MM/DD/YYYY HH:MM[:SS] {AM/PM}, where {a/b} indicates * that you must choose one of a or b, and [c] indicates that you - * may use or omit c. \u00b1ZZZZ is the timezone offset, and may be + * may use or omit c. ±ZZZZ is the timezone offset, and may be * literally "Z" to mean GMT. * @since Ant 1.10.2 */ diff --git a/src/main/org/apache/tools/ant/util/DateUtils.java b/src/main/org/apache/tools/ant/util/DateUtils.java index fc3d290dd..f7c94f3ed 100644 --- a/src/main/org/apache/tools/ant/util/DateUtils.java +++ b/src/main/org/apache/tools/ant/util/DateUtils.java @@ -346,10 +346,10 @@ public final class DateUtils { * That is: * * where {a|b} indicates that you must choose one of a or b, and [c] - * indicates that you may use or omit c. \u00b1ZZZZ is the timezone offset, and + * indicates that you may use or omit c. ±ZZZZ is the timezone offset, and * may be literally "Z" to mean GMT. * * @param dateStr String