Skip to content

Commit eea6154

Browse files
committed
[MSHARED-1446] Add docs about repro build output timestamp boundaries
This closes #73
1 parent 369127c commit eea6154

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/org/apache/maven/archiver/MavenArchiver.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,9 @@ public Date configureReproducible(String outputTimestamp) {
748748
* contains only 1 character (not a number)
749749
* @since 3.6.0
750750
* @throws IllegalArgumentException if the outputTimestamp is neither ISO 8601 nor an integer, or it's not within
751-
* the valid range 1980-01-01T00:00:02Z to 2099-12-31T23:59:59Z
751+
* the valid range 1980-01-01T00:00:02Z to 2099-12-31T23:59:59Z as defined by
752+
* <a href="https://pkwaredownloads.blob.core.windows.net/pem/APPNOTE.txt">ZIP application note</a>,
753+
* section 4.4.6.
752754
*/
753755
public static Optional<Instant> parseBuildOutputTimestamp(String outputTimestamp) {
754756
// Fail-fast on nulls

0 commit comments

Comments
 (0)