public class SqlDateTime extends ValueType implements IXmlSerializable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.SqlTypes.SqlDateTime
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data.Common
|
static java.lang.String |
className
Qualified class name: System.Data.SqlTypes.SqlDateTime
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SqlDateTime() |
SqlDateTime(DateTime value) |
SqlDateTime(int dayTicks,
int timeTicks) |
SqlDateTime(int year,
int month,
int day) |
SqlDateTime(int year,
int month,
int day,
int hour,
int minute,
int second) |
SqlDateTime(int year,
int month,
int day,
int hour,
int minute,
int second,
double millisecond) |
SqlDateTime(int year,
int month,
int day,
int hour,
int minute,
int second,
int bilisecond) |
SqlDateTime(java.lang.Object instance)
Internal constructor.
|
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToStringGetSchema, ReadXml, ToIXmlSerializable, WriteXmlpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SqlDateTime()
throws java.lang.Throwable
java.lang.Throwablepublic SqlDateTime(DateTime value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlTypeException, OverflowException
public SqlDateTime(int dayTicks,
int timeTicks)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
OverflowException
public SqlDateTime(int year,
int month,
int day)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OverflowException,
SqlTypeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOverflowExceptionSqlTypeExceptionpublic SqlDateTime(int year,
int month,
int day,
int hour,
int minute,
int second)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OverflowException,
SqlTypeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOverflowExceptionSqlTypeExceptionpublic SqlDateTime(int year,
int month,
int day,
int hour,
int minute,
int second,
double millisecond)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OverflowException,
SqlTypeException
public SqlDateTime(int year,
int month,
int day,
int hour,
int minute,
int second,
int bilisecond)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OverflowException,
SqlTypeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOverflowExceptionSqlTypeExceptionpublic SqlDateTime(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static SqlDateTime Add(SqlDateTime x, TimeSpan t) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, SqlTypeException, OverflowException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionSqlTypeExceptionOverflowExceptionpublic static SqlDateTime cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SqlDateTime, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSqlDateTime instancejava.lang.Throwable - in case of error during cast operationpublic int CompareTo(NetObject value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionpublic int CompareTo(SqlDateTime value) throws java.lang.Throwable
java.lang.Throwablepublic boolean Equals(SqlDateTime other) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException
public static SqlBoolean Equals(SqlDateTime x, SqlDateTime y) throws java.lang.Throwable
java.lang.Throwablepublic int getDayTicks()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException
public boolean getIsNull()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IXmlSerializablegetJCOAssemblyName in class ValueTypeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IXmlSerializablegetJCOClassName in class ValueTypeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IXmlSerializablegetJCOInstance in class ValueTypeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IXmlSerializablegetJCOObjectName in class ValueTypeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IXmlSerializablegetJCOType in class ValueTypeJCType representing the CLR Type of the instantiated Classpublic int getTimeTicks()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException
public DateTime getValue() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SqlNullValueException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSqlNullValueExceptionpublic static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet) throws java.lang.Throwable
java.lang.Throwablepublic static SqlBoolean GreaterThan(SqlDateTime x, SqlDateTime y) throws java.lang.Throwable
java.lang.Throwablepublic static SqlBoolean GreaterThanOrEqual(SqlDateTime x, SqlDateTime y) throws java.lang.Throwable
java.lang.Throwablepublic static SqlBoolean LessThan(SqlDateTime x, SqlDateTime y) throws java.lang.Throwable
java.lang.Throwablepublic static SqlBoolean LessThanOrEqual(SqlDateTime x, SqlDateTime y) throws java.lang.Throwable
java.lang.Throwablepublic static SqlBoolean NotEquals(SqlDateTime x, SqlDateTime y) throws java.lang.Throwable
java.lang.Throwablepublic static SqlDateTime Parse(java.lang.String s) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, ExternalException, IndexOutOfRangeException, OverflowException, FormatException, SqlTypeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionExternalExceptionIndexOutOfRangeExceptionOverflowExceptionFormatExceptionSqlTypeExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class ValueTypepublic static SqlDateTime Subtract(SqlDateTime x, TimeSpan t) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, SqlTypeException, OverflowException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionSqlTypeExceptionOverflowExceptionpublic SqlString ToSqlString() throws java.lang.Throwable, PlatformNotSupportedException, CultureNotFoundException, NullReferenceException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException