googleapis / googleapis/google-cloud-java

Improve Timestamp conversions

オープン
#7,233 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
priority: p4 type: feature request
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
154

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。