googleapis / googleapis/google-cloud-java

Improve Timestamp conversions

Đang mở
#7,233 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
priority: p4 type: feature request
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.