googleapis / googleapis/google-cloud-java
Improve Timestamp conversions
Offen
priority: p4
type: feature request
- Vorherrschende Sprache
- Java
- Sterne
- 2.1k
- Forks
- 1.2k
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 154
Beschreibung
I guess this may be a duplicate of https://github.com/googleapis/google-cloud-java/issues/2472
We barely use java.util.Date on modern apps, java.time is around long enough, and it would be awesome if Timestamp could natively support LocalDateTime,
having to do `Timestamp.of(Date.from(ldt.atZone(ZoneId.systemDefault()).toInstant()))`
Kinda wears out after a while.
Does not seem like a lot of effort, but could remove a lot of boiler plate code on client side
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.