valueOf Method (java.sql.Timestamp, int)
Creates a DateTimeOffset object representing a point in time at a particular offset from GMT given a java.sql.Timestamp value and a value indicating the offset in minutes.
Syntax
public static DateTimeOffset valueOf(java.sql.Timestamp timestamp, int minutesOffset)
Parameters
timestamp
Ajava.sql.Timestamp value.
minutesOffset
The offset in minutes.
Return Value
Returns a DateTimeOffset object representing the point in time given by the java.sql.Timestamp object at the given offset, in minutes, from GMT.
See Also
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ