Skip to content

Commit

Permalink
docs: ensure JavaDoc is explicit about UTC (#192)
Browse files Browse the repository at this point in the history
resolves #191
  • Loading branch information
jeremylong authored Jul 12, 2024
1 parent f59164d commit bb1bdb4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ public NvdCveClientBuilder withFilter(BooleanFilter filter) {
}

/**
* Use a range of no more than 120 days on the last modified dates to filter the results.
* Use a range of no more than 120 days on the last modified dates to filter the results. The ZonedDateTime objects
* must be set to UTC.
*
* @param utcStartDate the UTC date time for the range start
* @param utcEndDate the UTC date time for the range end
Expand All @@ -226,7 +227,7 @@ public NvdCveClientBuilder withLastModifiedFilter(ZonedDateTime utcStartDate, Zo
}

/**
* Filter the results with a range of published date times.
* Filter the results with a range of published date times. The ZonedDateTime objects must be set to UTC.
*
* @param utcStartDate the UTC date time for the range start
* @param utcEndDate the UTC date time for the range end
Expand Down

0 comments on commit bb1bdb4

Please sign in to comment.