DateChecker
Warns against suspect looking calls to java.util.Date APIs

Severity
WARNING

The problem

java.util.Date uses 1900-based years, 0-based months, 1-based days, and 0-based hours/minutes/seconds. Additionally, it allows for negative values or very large values (which rollover).

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("DateChecker") to the enclosing element.