googleapis / googleapis/google-cloud-java

Improve Timestamp conversions

Aperta
#7,233 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
priority: p4 type: feature request
Lingua principale
Java
Stelle
2.1k
Fork
1.2k
Merge medio
1g 23h
PR unite (30g)
154

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.