Back to Error Prone

JavaUtilDate

docs/bugpattern/JavaUtilDate.md

2.49.0295 B
Original Source

The Date API is full of major design flaws and pitfalls and should be avoided at all costs. Prefer the java.time APIs, specifically, java.time.Instant (for physical time) and java.time.LocalDate[Time] (for civil time).