ICallableStatement.GetTimestamp Method

Definition

Overloads

GetTimestamp(String, Calendar)

Retrieves the value of a JDBC <code>TIMESTAMP</code> parameter as a <code>java.

GetTimestamp(Int32, Calendar)

Retrieves the value of the designated JDBC <code>TIMESTAMP</code> parameter as a <code>java.

GetTimestamp(String)

Retrieves the value of a JDBC <code>TIMESTAMP</code> parameter as a <code>java.

GetTimestamp(Int32)

Retrieves the value of the designated JDBC <code>TIMESTAMP</code> parameter as a <code>java.

GetTimestamp(String, Calendar)

Retrieves the value of a JDBC <code>TIMESTAMP</code> parameter as a <code>java.

[Android.Runtime.Register("getTimestamp", "(Ljava/lang/String;Ljava/util/Calendar;)Ljava/sql/Timestamp;", "GetGetTimestamp_Ljava_lang_String_Ljava_util_Calendar_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.Timestamp? GetTimestamp (string? parameterName, Java.Util.Calendar? cal);
[<Android.Runtime.Register("getTimestamp", "(Ljava/lang/String;Ljava/util/Calendar;)Ljava/sql/Timestamp;", "GetGetTimestamp_Ljava_lang_String_Ljava_util_Calendar_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetTimestamp : string * Java.Util.Calendar -> Java.Sql.Timestamp

Parameters

parameterName
String

the name of the parameter

cal
Calendar

the <code>Calendar</code> object the driver will use to construct the timestamp

Returns

Timestamp

the parameter value. If the value is SQL <code>NULL</code>, the result is <code>null</code>.

Attributes

Exceptions

if a database error occurs.

Remarks

Java documentation for java.sql.CallableStatement.getTimestamp(java.lang.String, java.util.Calendar).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

Applies to

GetTimestamp(Int32, Calendar)

Retrieves the value of the designated JDBC <code>TIMESTAMP</code> parameter as a <code>java.

[Android.Runtime.Register("getTimestamp", "(ILjava/util/Calendar;)Ljava/sql/Timestamp;", "GetGetTimestamp_ILjava_util_Calendar_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.Timestamp? GetTimestamp (int parameterIndex, Java.Util.Calendar? cal);
[<Android.Runtime.Register("getTimestamp", "(ILjava/util/Calendar;)Ljava/sql/Timestamp;", "GetGetTimestamp_ILjava_util_Calendar_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetTimestamp : int * Java.Util.Calendar -> Java.Sql.Timestamp

Parameters

parameterIndex
Int32

the first parameter is 1, the second is 2, and so on

cal
Calendar

the <code>Calendar</code> object the driver will use to construct the timestamp

Returns

Timestamp

the parameter value. If the value is SQL <code>NULL</code>, the result is <code>null</code>.

Attributes

Exceptions

if a database error occurs.

Remarks

Java documentation for java.sql.CallableStatement.getTimestamp(int, java.util.Calendar).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

Applies to

GetTimestamp(String)

Retrieves the value of a JDBC <code>TIMESTAMP</code> parameter as a <code>java.

[Android.Runtime.Register("getTimestamp", "(Ljava/lang/String;)Ljava/sql/Timestamp;", "GetGetTimestamp_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.Timestamp? GetTimestamp (string? parameterName);
[<Android.Runtime.Register("getTimestamp", "(Ljava/lang/String;)Ljava/sql/Timestamp;", "GetGetTimestamp_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetTimestamp : string -> Java.Sql.Timestamp

Parameters

parameterName
String

the name of the parameter

Returns

Timestamp

the parameter value. If the value is SQL <code>NULL</code>, the result is <code>null</code>.

Attributes

Exceptions

if a database error occurs.

Remarks

Java documentation for java.sql.CallableStatement.getTimestamp(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

Applies to

GetTimestamp(Int32)

Retrieves the value of the designated JDBC <code>TIMESTAMP</code> parameter as a <code>java.

[Android.Runtime.Register("getTimestamp", "(I)Ljava/sql/Timestamp;", "GetGetTimestamp_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.Timestamp? GetTimestamp (int parameterIndex);
[<Android.Runtime.Register("getTimestamp", "(I)Ljava/sql/Timestamp;", "GetGetTimestamp_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetTimestamp : int -> Java.Sql.Timestamp

Parameters

parameterIndex
Int32

the first parameter is 1, the second is 2, and so on

Returns

Timestamp

the parameter value. If the value is SQL <code>NULL</code>, the result is <code>null</code>.

Attributes

Exceptions

if a database error occurs.

Remarks

Java documentation for java.sql.CallableStatement.getTimestamp(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

Applies to