googleapis / googleapis/google-cloud-java
Improve Timestamp conversions
Open
priority: p4
type: feature request
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 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
Contributor guide
Assessment
This issue has not been assessed yet.