Skip to content

Commit

Permalink
[MSHARED-1446] Add docs about repro build output timestamp boundaries
Browse files Browse the repository at this point in the history
This closes #73
  • Loading branch information
michael-o committed Oct 22, 2024
1 parent 369127c commit eea6154
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/apache/maven/archiver/MavenArchiver.java
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,9 @@ public Date configureReproducible(String outputTimestamp) {
* contains only 1 character (not a number)
* @since 3.6.0
* @throws IllegalArgumentException if the outputTimestamp is neither ISO 8601 nor an integer, or it's not within
* the valid range 1980-01-01T00:00:02Z to 2099-12-31T23:59:59Z
* the valid range 1980-01-01T00:00:02Z to 2099-12-31T23:59:59Z as defined by
* <a href="https://pkwaredownloads.blob.core.windows.net/pem/APPNOTE.txt">ZIP application note</a>,
* section 4.4.6.
*/
public static Optional<Instant> parseBuildOutputTimestamp(String outputTimestamp) {
// Fail-fast on nulls
Expand Down

0 comments on commit eea6154

Please sign in to comment.