Package system.globalization
Class KoreanCalendar
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.globalization.Calendar
-
- system.globalization.KoreanCalendar
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class KoreanCalendar extends Calendar
The base .NET class managing System.Globalization.KoreanCalendar, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Globalization.KoreanCalendar
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.String
assemblyShortName
Assembly name: System.Private.CoreLibstatic java.lang.String
className
Qualified class name: System.Globalization.KoreanCalendarstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description KoreanCalendar()
KoreanCalendar(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DateTime
AddMonths(DateTime time, int months)
DateTime
AddYears(DateTime time, int years)
static KoreanCalendar
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoKoreanCalendar
, a cast assert is made to check if types are compatible.int
GetDayOfMonth(DateTime time)
DayOfWeek
GetDayOfWeek(DateTime time)
int
GetDayOfYear(DateTime time)
int
GetDaysInMonth(int year, int month, int era)
int
GetDaysInYear(int year, int era)
int
GetEra(DateTime time)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeint
GetLeapMonth(int year, int era)
int
GetMonth(DateTime time)
int
GetMonthsInYear(int year, int era)
int
GetWeekOfYear(DateTime time, CalendarWeekRule rule, DayOfWeek firstDayOfWeek)
int
GetYear(DateTime time)
boolean
IsLeapDay(int year, int month, int day, int era)
boolean
IsLeapMonth(int year, int month, int era)
boolean
IsLeapYear(int year, int era)
void
setJCOInstance(JCObject instance)
DateTime
ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era)
int
ToFourDigitYear(int year)
-
Methods inherited from class system.globalization.Calendar
AddDays, AddHours, AddMilliseconds, AddMinutes, AddSeconds, AddWeeks, Clone, getAlgorithmType, GetDaysInMonth, GetDaysInYear, getEras, GetHour, getIsReadOnly, GetLeapMonth, getMaxSupportedDateTime, GetMilliseconds, getMinSupportedDateTime, GetMinute, GetMonthsInYear, GetSecond, getTwoDigitYearMax, IsLeapDay, IsLeapMonth, IsLeapYear, ReadOnly, setTwoDigitYearMax, ToDateTime
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Globalization.KoreanCalendar- See Also:
- Constant Field Values
-
-
Constructor Detail
-
KoreanCalendar
public KoreanCalendar(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
KoreanCalendar
public KoreanCalendar() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, TypeInitializationException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
OutOfMemoryException
PlatformNotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
InvalidOperationException
RankException
ArrayTypeMismatchException
CultureNotFoundException
TypeInitializationException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classCalendar
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classCalendar
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classCalendar
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classCalendar
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classCalendar
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classCalendar
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static KoreanCalendar cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoKoreanCalendar
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
KoreanCalendar
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
IsLeapDay
public boolean IsLeapDay(int year, int month, int day, int era) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
- Overrides:
IsLeapDay
in classCalendar
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
-
IsLeapMonth
public boolean IsLeapMonth(int year, int month, int era) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, FormatException
-
IsLeapYear
public boolean IsLeapYear(int year, int era) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, FormatException
-
GetDayOfMonth
public int GetDayOfMonth(DateTime time) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
- Overrides:
GetDayOfMonth
in classCalendar
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
-
GetDayOfYear
public int GetDayOfYear(DateTime time) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
- Overrides:
GetDayOfYear
in classCalendar
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
-
GetDaysInMonth
public int GetDaysInMonth(int year, int month, int era) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, FormatException
- Overrides:
GetDaysInMonth
in classCalendar
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
CultureNotFoundException
FormatException
-
GetDaysInYear
public int GetDaysInYear(int year, int era) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, FormatException
- Overrides:
GetDaysInYear
in classCalendar
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
CultureNotFoundException
FormatException
-
GetEra
public int GetEra(DateTime time) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
- Overrides:
GetEra
in classCalendar
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
-
GetLeapMonth
public int GetLeapMonth(int year, int era) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, FormatException
-
GetMonth
public int GetMonth(DateTime time) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
- Overrides:
GetMonth
in classCalendar
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
-
GetMonthsInYear
public int GetMonthsInYear(int year, int era) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, FormatException
- Overrides:
GetMonthsInYear
in classCalendar
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
CultureNotFoundException
FormatException
-
GetWeekOfYear
public int GetWeekOfYear(DateTime time, CalendarWeekRule rule, DayOfWeek firstDayOfWeek) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
- Overrides:
GetWeekOfYear
in classCalendar
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
-
GetYear
public int GetYear(DateTime time) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
- Overrides:
GetYear
in classCalendar
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
-
ToFourDigitYear
public int ToFourDigitYear(int year) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
- Overrides:
ToFourDigitYear
in classCalendar
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
-
AddMonths
public DateTime AddMonths(DateTime time, int months) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException
- Overrides:
AddMonths
in classCalendar
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
FormatException
-
AddYears
public DateTime AddYears(DateTime time, int years) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
- Overrides:
AddYears
in classCalendar
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
-
ToDateTime
public DateTime ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, FormatException
-
GetDayOfWeek
public DayOfWeek GetDayOfWeek(DateTime time) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
- Overrides:
GetDayOfWeek
in classCalendar
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
-
-