googleapis / googleapis/google-cloud-java
Improve Timestamp conversions
Ouverte
priority: p4
type: feature request
- Langage dominant
- Java
- Étoiles
- 2.1k
- Forks
- 1.2k
- Merge moyen
- 1 j 23 h
- PR mergées (30 j)
- 154
Description
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
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.