Skip to content

Commit

Permalink
Improve documentation (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
dr0i committed Nov 10, 2023
1 parent 6484cdd commit f6fc433
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/apps/ConvertUpdates.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@

/**
* Configurable to-the-minute. Start time is read from file which was saved last time of successfully updating.
* Default end time is now, like eg. 2023-11-06T15:59Z .
* OAI-PMH allows UTC queries. The format doesn't allow e.g. milliseconds - see {@link #dateTimeFormatter}.
* Default end time is now, in the format like eg. 2023-11-06T15:59Z .
*/
public class ConvertUpdates {

Expand All @@ -52,8 +53,7 @@ public class ConvertUpdates {
+ "This may or may not be a problem on the side of the data provider.";
static private boolean rawDates = false;
/* OAI-PMH expects this format */
static final DateTimeFormatter dateTimeFormatter =
DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss'Z'");
static final DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss'Z'");

public static void main(String[] args) throws IOException, InterruptedException {
if (args.length >= 1) {
Expand Down

0 comments on commit f6fc433

Please sign in to comment.