Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Creates a DateTimeOffset object representing a point in time at a particular offset from GMT given a java.sql.Timestamp value and a java.util.Calendar value indicating the offset.
Syntax
public static DateTimeOffset valueOf(java.sql.Timestamp timestamp, java.util.Calendar calendar)
Parameters
timestamp
A java.sql.Timestamp value.
calendar
The offset value. The date and time components of calendar will be set according to the timestamp value.
Return Value
Returns a DateTimeOffset object representing the point in time given by the java.sql.Timestamp object at the given java.util.Calendar object's time zone.
Remarks
This method also sets the java.util.Calendar object to the point in time given by the java.sql.Timestamp object.