IResultSet.GetTime Method

Definition

Overloads

GetTime(String, Calendar)

Gets the value of a column specified by column index, as a java.sql.Time value.

GetTime(Int32, Calendar)

Gets the value of a column specified by column index as a java.sql.Time value.

GetTime(Int32)

Gets the value of a column specified by column index as a java.sql.Time value.

GetTime(String)

Gets the value of a column specified by column name, as a java.sql.Time value.

GetTime(String, Calendar)

Gets the value of a column specified by column index, as a java.sql.Time value.

[Android.Runtime.Register("getTime", "(Ljava/lang/String;Ljava/util/Calendar;)Ljava/sql/Time;", "GetGetTime_Ljava_lang_String_Ljava_util_Calendar_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.Time GetTime (string columnLabel, Java.Util.Calendar cal);
abstract member GetTime : string * Java.Util.Calendar -> Java.Sql.Time

Parameters

columnLabel
String
cal
Calendar

a Calendar to use in creating the Java time value.

Returns

Time
Attributes

Exceptions

if a database error happens.

Remarks

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.

Applies to

GetTime(Int32, Calendar)

Gets the value of a column specified by column index as a java.sql.Time value.

[Android.Runtime.Register("getTime", "(ILjava/util/Calendar;)Ljava/sql/Time;", "GetGetTime_ILjava_util_Calendar_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.Time GetTime (int columnIndex, Java.Util.Calendar cal);
abstract member GetTime : int * Java.Util.Calendar -> Java.Sql.Time

Parameters

columnIndex
Int32

the index of the column to read.

cal
Calendar

a Calendar to use in creating the Java Time value.

Returns

Time
Attributes

Exceptions

if a database error happens.

Remarks

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.

Applies to

GetTime(Int32)

Gets the value of a column specified by column index as a java.sql.Time value.

[Android.Runtime.Register("getTime", "(I)Ljava/sql/Time;", "GetGetTime_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.Time GetTime (int columnIndex);
abstract member GetTime : int -> Java.Sql.Time

Parameters

columnIndex
Int32

the index of the column to read.

Returns

Time
Attributes

Exceptions

if a database error happens.

Remarks

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.

Applies to

GetTime(String)

Gets the value of a column specified by column name, as a java.sql.Time value.

[Android.Runtime.Register("getTime", "(Ljava/lang/String;)Ljava/sql/Time;", "GetGetTime_Ljava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.Time GetTime (string columnLabel);
abstract member GetTime : string -> Java.Sql.Time

Parameters

columnLabel
String

Returns

Time
Attributes

Exceptions

if a database error happens.

Remarks

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.

Applies to