# Uses of Class
microsoft.sql.DateTimeOffset

Packages that use DateTimeOffset
Package
Description
com.microsoft.sqlserver.jdbc
microsoft.sql

## Uses of DateTimeOffset in com.microsoft.sqlserver.jdbc

Methods in com.microsoft.sqlserver.jdbc that return DateTimeOffset
Modifier and Type
Method
Description
`DateTimeOffset`
ISQLServerCallableStatement.`getDateTimeOffset​(int parameterIndex)`
Returns the DateTimeOffset value of parameter with index parameterIndex.
`DateTimeOffset`
ISQLServerCallableStatement.`getDateTimeOffset​(String parameterName)`
Returns the DateTimeOffset value of parameter with name parameterName.
`DateTimeOffset`
ISQLServerResultSet.`getDateTimeOffset​(int columnIndex)`
Returns the value of the designated column as a microsoft.sql.DateTimeOffset object, given a zero-based column ordinal.
`DateTimeOffset`
ISQLServerResultSet.`getDateTimeOffset​(String columnName)`
Returns the value of the column specified as a microsoft.sql.DateTimeOffset object, given a column name.
`DateTimeOffset`
SQLServerCallableStatement.`getDateTimeOffset​(int index)`
`DateTimeOffset`
SQLServerCallableStatement.`getDateTimeOffset​(String parameterName)`
`DateTimeOffset`
SQLServerResultSet.`getDateTimeOffset​(int columnIndex)`
`DateTimeOffset`
SQLServerResultSet.`getDateTimeOffset​(String columnName)`
Methods in com.microsoft.sqlserver.jdbc with parameters of type DateTimeOffset
Modifier and Type
Method
Description
`void`
ISQLServerCallableStatement.`setDateTimeOffset​(String parameterName, DateTimeOffset value)`
Sets parameter parameterName to DateTimeOffset value.
`void`
ISQLServerCallableStatement.`setDateTimeOffset​(String parameterName, DateTimeOffset value, int scale)`
Sets parameter parameterName to DateTimeOffset value.
`void`
ISQLServerCallableStatement.`setDateTimeOffset​(String parameterName, DateTimeOffset value, int scale, boolean forceEncrypt)`
Sets parameter parameterName to DateTimeOffset value.
`void`
ISQLServerPreparedStatement.`setDateTimeOffset​(int parameterIndex, DateTimeOffset x)`
Sets the designated parameter to the given `microsoft.sql.DateTimeOffset` value.
`void`
ISQLServerPreparedStatement.`setDateTimeOffset​(int parameterIndex, DateTimeOffset x, int scale)`
Sets the designated parameter to the given `microsoft.sql.DatetimeOffset` value.
`void`
ISQLServerPreparedStatement.`setDateTimeOffset​(int parameterIndex, DateTimeOffset x, int scale, boolean forceEncrypt)`
Sets the designated parameter to the given `microsoft.sql.DatetimeOffset` value.
`void`
SQLServerCallableStatement.`setDateTimeOffset​(String parameterName, DateTimeOffset value)`
`void`
SQLServerCallableStatement.`setDateTimeOffset​(String parameterName, DateTimeOffset value, int scale)`
`void`
SQLServerCallableStatement.`setDateTimeOffset​(String parameterName, DateTimeOffset value, int scale, boolean forceEncrypt)`
`void`
SQLServerPreparedStatement.`setDateTimeOffset​(int n, DateTimeOffset x)`
`void`
SQLServerPreparedStatement.`setDateTimeOffset​(int n, DateTimeOffset x, int scale)`
`void`
SQLServerPreparedStatement.`setDateTimeOffset​(int n, DateTimeOffset x, int scale, boolean forceEncrypt)`
`void`
ISQLServerResultSet.`updateDateTimeOffset​(int index, DateTimeOffset x)`
Updates the value of the column specified to the DateTimeOffset Class value, given a zero-based column ordinal.
`void`
ISQLServerResultSet.`updateDateTimeOffset​(int index, DateTimeOffset x, Integer scale)`
Updates the value of the column specified to the DateTimeOffset Class value, given a zero-based column ordinal.
`void`
ISQLServerResultSet.`updateDateTimeOffset​(int index, DateTimeOffset x, Integer scale, boolean forceEncrypt)`
Updates the value of the column specified to the DateTimeOffset Class value, given a zero-based column ordinal.
`void`
ISQLServerResultSet.`updateDateTimeOffset​(String columnName, DateTimeOffset x)`
Updates the value of the column specified to the DateTimeOffset Class value, given a column name.
`void`
ISQLServerResultSet.`updateDateTimeOffset​(String columnName, DateTimeOffset x, int scale)`
Updates the value of the column specified to the DateTimeOffset Class value, given a column name.
`void`
ISQLServerResultSet.`updateDateTimeOffset​(String columnName, DateTimeOffset x, int scale, boolean forceEncrypt)`
Updates the value of the column specified to the DateTimeOffset Class value, given a column name.
`void`
SQLServerResultSet.`updateDateTimeOffset​(int index, DateTimeOffset x)`
`void`
SQLServerResultSet.`updateDateTimeOffset​(int index, DateTimeOffset x, Integer scale)`
`void`
SQLServerResultSet.`updateDateTimeOffset​(int index, DateTimeOffset x, Integer scale, boolean forceEncrypt)`
`void`
SQLServerResultSet.`updateDateTimeOffset​(String columnName, DateTimeOffset x)`
`void`
SQLServerResultSet.`updateDateTimeOffset​(String columnName, DateTimeOffset x, int scale)`
`void`
SQLServerResultSet.`updateDateTimeOffset​(String columnName, DateTimeOffset x, int scale, boolean forceEncrypt)`

## Uses of DateTimeOffset in microsoft.sql

Methods in microsoft.sql that return DateTimeOffset
Modifier and Type
Method
Description
`static DateTimeOffset`
DateTimeOffset.`valueOf​(Timestamp timestamp, int minutesOffset)`
Converts a java.sql.Timestamp value with an integer offset to the equivalent DateTimeOffset value
`static DateTimeOffset`
DateTimeOffset.`valueOf​(Timestamp timestamp, Calendar calendar)`
Converts a java.sql.Timestamp value with a Calendar value to the equivalent DateTimeOffset value
Methods in microsoft.sql with parameters of type DateTimeOffset
Modifier and Type
Method
Description
`int`
DateTimeOffset.`compareTo​(DateTimeOffset other)`
Compares this DateTimeOffset object with another DateTimeOffset object to determine their relative order.