Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
将给定的时间戳转换为 TimestampWithTimeZone。
TimestampWithTimeZone TimestampWithTimeZone.toTimestampWithTimeZone( Timestamp ts )
ts 要转换的时间戳
如果 ts 是 TimestampWithTimeZone 的实例,则返回 ts。否则,会构造一个新的 TimestampWithTimeZone,等效于时区偏移为 00:00 的 ts。