public class DateAndTime extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/Microsoft.VisualBasic.DateAndTime
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: Microsoft.VisualBasic.Core, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.VisualBasic.Core
|
static java.lang.String |
className
Qualified class name: Microsoft.VisualBasic.DateAndTime
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DateAndTime() |
DateAndTime(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DateAndTime |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DateAndTime, a cast assert is made to check if types are compatible. |
static DateTime |
DateAdd(DateInterval Interval,
double Number,
DateTime DateValue)
Invokes the .NET member DateAdd.
|
static DateTime |
DateAdd(java.lang.String Interval,
double Number,
NetObject DateValue)
Invokes the .NET member DateAdd.
|
static long |
DateDiff(DateInterval Interval,
DateTime Date1,
DateTime Date2,
FirstDayOfWeek DayOfWeek,
FirstWeekOfYear WeekOfYear)
Invokes the .NET member DateDiff.
|
static long |
DateDiff(java.lang.String Interval,
NetObject Date1,
NetObject Date2,
FirstDayOfWeek DayOfWeek,
FirstWeekOfYear WeekOfYear)
Invokes the .NET member DateDiff.
|
static int |
DatePart(DateInterval Interval,
DateTime DateValue,
FirstDayOfWeek FirstDayOfWeekValue,
FirstWeekOfYear FirstWeekOfYearValue)
Invokes the .NET member DatePart.
|
static int |
DatePart(java.lang.String Interval,
NetObject DateValue,
FirstDayOfWeek DayOfWeek,
FirstWeekOfYear WeekOfYear)
Invokes the .NET member DatePart.
|
static DateTime |
DateSerial(int Year,
int Month,
int Day)
Invokes the .NET member DateSerial.
|
static DateTime |
DateValue(java.lang.String StringDate)
Invokes the .NET member DateValue.
|
static int |
Day(DateTime DateValue)
Invokes the .NET member Day.
|
static java.lang.String |
getDateString()
Gets the value of the .NET property DateString.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static DateTime |
getNow()
Gets the value of the .NET property Now.
|
static DateTime |
getTimeOfDay()
Gets the value of the .NET property TimeOfDay.
|
static double |
getTimer()
Gets the value of the .NET property Timer.
|
static java.lang.String |
getTimeString()
Gets the value of the .NET property TimeString.
|
static DateTime |
getToday()
Gets the value of the .NET property Today.
|
static int |
Hour(DateTime TimeValue)
Invokes the .NET member Hour.
|
static int |
Minute(DateTime TimeValue)
Invokes the .NET member Minute.
|
static int |
Month(DateTime DateValue)
Invokes the .NET member Month.
|
static java.lang.String |
MonthName(int Month,
boolean Abbreviate)
Invokes the .NET member MonthName.
|
static int |
Second(DateTime TimeValue)
Invokes the .NET member Second.
|
static void |
setDateString(java.lang.String DateString)
Sets the value of the .NET property DateString.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static void |
setTimeOfDay(DateTime TimeOfDay)
Sets the value of the .NET property TimeOfDay.
|
static void |
setTimeString(java.lang.String TimeString)
Sets the value of the .NET property TimeString.
|
static void |
setToday(DateTime Today)
Sets the value of the .NET property Today.
|
static DateTime |
TimeSerial(int Hour,
int Minute,
int Second)
Invokes the .NET member TimeSerial.
|
static DateTime |
TimeValue(java.lang.String StringTime)
Invokes the .NET member TimeValue.
|
static int |
Weekday(DateTime DateValue,
FirstDayOfWeek DayOfWeek)
Invokes the .NET member Weekday.
|
static java.lang.String |
WeekdayName(int Weekday,
boolean Abbreviate,
FirstDayOfWeek FirstDayOfWeekValue)
Invokes the .NET member WeekdayName.
|
static int |
Year(DateTime DateValue)
Invokes the .NET member Year.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DateAndTime()
throws java.lang.Throwable
java.lang.Throwablepublic DateAndTime(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static DateAndTime cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DateAndTime, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDateAndTime instancejava.lang.Throwable - in case of error during cast operationpublic static DateTime DateAdd(DateInterval Interval, double Number, DateTime DateValue) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, CultureNotFoundException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentException, RankException, IndexOutOfRangeException, InvalidCastException, TypeInitializationException
Interval - the argument of type DateIntervalNumber - the argument of type doubleDateValue - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidCastException - if the .NET member raises itTypeInitializationException - if the .NET member raises itpublic static DateTime DateAdd(java.lang.String Interval, double Number, NetObject DateValue) throws java.lang.Throwable, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentException, CultureNotFoundException, IndexOutOfRangeException, InvalidOperationException, TypeInitializationException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidCastException, OutOfMemoryException, ArrayTypeMismatchException
Interval - the argument of type java.lang.StringNumber - the argument of type doubleDateValue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTypeInitializationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidCastException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static long DateDiff(DateInterval Interval, DateTime Date1, DateTime Date2, FirstDayOfWeek DayOfWeek, FirstWeekOfYear WeekOfYear) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, CultureNotFoundException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentException, RankException, IndexOutOfRangeException, InvalidCastException, TypeInitializationException, FormatException
Interval - the argument of type DateIntervalDate1 - the argument of type DateTimeDate2 - the argument of type DateTimeDayOfWeek - the argument of type FirstDayOfWeekWeekOfYear - the argument of type FirstWeekOfYearjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidCastException - if the .NET member raises itTypeInitializationException - if the .NET member raises itFormatException - if the .NET member raises itpublic static long DateDiff(java.lang.String Interval,
NetObject Date1,
NetObject Date2,
FirstDayOfWeek DayOfWeek,
FirstWeekOfYear WeekOfYear)
throws java.lang.Throwable,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
ArgumentException,
CultureNotFoundException,
IndexOutOfRangeException,
InvalidOperationException,
TypeInitializationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
InvalidCastException,
OutOfMemoryException,
ArrayTypeMismatchException
Interval - the argument of type java.lang.StringDate1 - the argument of type NetObjectDate2 - the argument of type NetObjectDayOfWeek - the argument of type FirstDayOfWeekWeekOfYear - the argument of type FirstWeekOfYearjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTypeInitializationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidCastException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static int DatePart(DateInterval Interval, DateTime DateValue, FirstDayOfWeek FirstDayOfWeekValue, FirstWeekOfYear FirstWeekOfYearValue) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, CultureNotFoundException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentException, RankException, IndexOutOfRangeException, InvalidCastException, TypeInitializationException
Interval - the argument of type DateIntervalDateValue - the argument of type DateTimeFirstDayOfWeekValue - the argument of type FirstDayOfWeekFirstWeekOfYearValue - the argument of type FirstWeekOfYearjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidCastException - if the .NET member raises itTypeInitializationException - if the .NET member raises itpublic static int DatePart(java.lang.String Interval,
NetObject DateValue,
FirstDayOfWeek DayOfWeek,
FirstWeekOfYear WeekOfYear)
throws java.lang.Throwable,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
ArgumentException,
CultureNotFoundException,
IndexOutOfRangeException,
InvalidOperationException,
TypeInitializationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
InvalidCastException,
OutOfMemoryException,
ArrayTypeMismatchException
Interval - the argument of type java.lang.StringDateValue - the argument of type NetObjectDayOfWeek - the argument of type FirstDayOfWeekWeekOfYear - the argument of type FirstWeekOfYearjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTypeInitializationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidCastException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static DateTime DateSerial(int Year, int Month, int Day) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, CultureNotFoundException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentException, RankException, IndexOutOfRangeException, InvalidCastException, TypeInitializationException
Year - the argument of type intMonth - the argument of type intDay - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidCastException - if the .NET member raises itTypeInitializationException - if the .NET member raises itpublic static DateTime DateValue(java.lang.String StringDate) throws java.lang.Throwable, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentException, IndexOutOfRangeException, InvalidOperationException, TypeInitializationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, FormatException, InvalidCastException
StringDate - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTypeInitializationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic static int Day(DateTime DateValue) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, CultureNotFoundException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentException, RankException, IndexOutOfRangeException, InvalidCastException, TypeInitializationException
DateValue - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidCastException - if the .NET member raises itTypeInitializationException - if the .NET member raises itpublic static java.lang.String getDateString()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
SecurityException,
ArgumentNullException,
OutOfMemoryException,
FormatException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
CultureNotFoundException,
OverflowException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSecurityException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOverflowException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static DateTime getNow() throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidTimeZoneException, InvalidOperationException, NullReferenceException, OverflowException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static DateTime getTimeOfDay() throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidTimeZoneException, InvalidOperationException, NullReferenceException, OverflowException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static double getTimer()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
InvalidTimeZoneException,
InvalidOperationException,
NullReferenceException,
OverflowException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static java.lang.String getTimeString()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
InvalidTimeZoneException,
InvalidOperationException,
NullReferenceException,
OverflowException,
FormatException,
CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNullReferenceException - if the .NET member raises itOverflowException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static DateTime getToday() throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, SecurityException, ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSecurityException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static int Hour(DateTime TimeValue) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, CultureNotFoundException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentException, RankException, IndexOutOfRangeException, InvalidCastException, TypeInitializationException
TimeValue - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidCastException - if the .NET member raises itTypeInitializationException - if the .NET member raises itpublic static int Minute(DateTime TimeValue) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, CultureNotFoundException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentException, RankException, IndexOutOfRangeException, InvalidCastException, TypeInitializationException
TimeValue - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidCastException - if the .NET member raises itTypeInitializationException - if the .NET member raises itpublic static int Month(DateTime DateValue) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, CultureNotFoundException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentException, RankException, IndexOutOfRangeException, InvalidCastException, TypeInitializationException
DateValue - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidCastException - if the .NET member raises itTypeInitializationException - if the .NET member raises itpublic static java.lang.String MonthName(int Month,
boolean Abbreviate)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
RankException,
TypeInitializationException
Month - the argument of type intAbbreviate - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itRankException - if the .NET member raises itTypeInitializationException - if the .NET member raises itpublic static int Second(DateTime TimeValue) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, CultureNotFoundException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentException, RankException, IndexOutOfRangeException, InvalidCastException, TypeInitializationException
TimeValue - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidCastException - if the .NET member raises itTypeInitializationException - if the .NET member raises itpublic static void setDateString(java.lang.String DateString)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotSupportedException,
CultureNotFoundException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
OverflowException,
InvalidOperationException,
FormatException,
ArrayTypeMismatchException,
ObjectDisposedException,
SecurityException
DateString - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic static void setTimeOfDay(DateTime TimeOfDay) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, ExternalException, SecurityException
TimeOfDay - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itSecurityException - if the .NET member raises itpublic static void setTimeString(java.lang.String TimeString)
throws java.lang.Throwable,
CultureNotFoundException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
InvalidOperationException,
TypeInitializationException,
ArgumentOutOfRangeException,
ArgumentNullException,
ObjectDisposedException,
FormatException,
InvalidCastException,
SecurityException
TimeString - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTypeInitializationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidCastException - if the .NET member raises itSecurityException - if the .NET member raises itpublic static void setToday(DateTime Today) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, ExternalException, SecurityException
Today - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itSecurityException - if the .NET member raises itpublic static DateTime TimeSerial(int Hour, int Minute, int Second) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException
Hour - the argument of type intMinute - the argument of type intSecond - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itpublic static DateTime TimeValue(java.lang.String StringTime) throws java.lang.Throwable, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentException, IndexOutOfRangeException, InvalidOperationException, TypeInitializationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, FormatException, InvalidCastException
StringTime - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTypeInitializationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic static int Weekday(DateTime DateValue, FirstDayOfWeek DayOfWeek) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotSupportedException, CultureNotFoundException, PlatformNotSupportedException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, TypeInitializationException, ObjectDisposedException, InvalidOperationException
DateValue - the argument of type DateTimeDayOfWeek - the argument of type FirstDayOfWeekjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itTypeInitializationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static java.lang.String WeekdayName(int Weekday,
boolean Abbreviate,
FirstDayOfWeek FirstDayOfWeekValue)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
RankException,
TypeInitializationException
Weekday - the argument of type intAbbreviate - the argument of type booleanFirstDayOfWeekValue - the argument of type FirstDayOfWeekjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itRankException - if the .NET member raises itTypeInitializationException - if the .NET member raises itpublic static int Year(DateTime DateValue) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, CultureNotFoundException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentException, RankException, IndexOutOfRangeException, InvalidCastException, TypeInitializationException
DateValue - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidCastException - if the .NET member raises itTypeInitializationException - if the .NET member raises it