Class Calendar
public class Calendar : JVMBridgeBase<Calendar>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Calendar>Calendar
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<Calendar>.SExecute<TNewClass, TReturn, TConverter>(IJavaType, string, params object[])JVMBridgeBase<Calendar>.IsAssignableFrom(IJavaType)JVMBridgeBase<Calendar>.IsAssignableFrom<T>()JVMBridgeBase<Calendar>.Execute<T>(params T[])JVMBridgeBase<Calendar>.DynBridgeClazzJVMBridgeBase<Calendar>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
Calendar()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Calendar class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Calendar()
Calendar(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("Calendar class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Calendar(params object[] args)
Parameters
args
object[]
Properties
ALL_STYLES
public static int ALL_STYLES { get; }
Property Value
AM
public static int AM { get; }
Property Value
AM_PM
public static int AM_PM { get; }
Property Value
APRIL
public static int APRIL { get; }
Property Value
AUGUST
public static int AUGUST { get; }
Property Value
AvailableLocales
public static Locale[] AvailableLocales { get; }
Property Value
- Locale[]
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
CalendarType
public String CalendarType { get; }
Property Value
DATE
public static int DATE { get; }
Property Value
DAY_OF_MONTH
public static int DAY_OF_MONTH { get; }
Property Value
DAY_OF_WEEK
public static int DAY_OF_WEEK { get; }
Property Value
DAY_OF_WEEK_IN_MONTH
public static int DAY_OF_WEEK_IN_MONTH { get; }
Property Value
DAY_OF_YEAR
public static int DAY_OF_YEAR { get; }
Property Value
DECEMBER
public static int DECEMBER { get; }
Property Value
DST_OFFSET
public static int DST_OFFSET { get; }
Property Value
ERA
public static int ERA { get; }
Property Value
FEBRUARY
public static int FEBRUARY { get; }
Property Value
FIELD_COUNT
public static int FIELD_COUNT { get; }
Property Value
FRIDAY
public static int FRIDAY { get; }
Property Value
FirstDayOfWeek
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Calendar.html#getFirstDayOfWeek() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Calendar.html#setFirstDayOfWeek(int)
public int FirstDayOfWeek { get; set; }
Property Value
GetAvailableCalendarTypes
public static Set<String> GetAvailableCalendarTypes { get; }
Property Value
HOUR
public static int HOUR { get; }
Property Value
HOUR_OF_DAY
public static int HOUR_OF_DAY { get; }
Property Value
Instance
public static Calendar Instance { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
JANUARY
public static int JANUARY { get; }
Property Value
JULY
public static int JULY { get; }
Property Value
JUNE
public static int JUNE { get; }
Property Value
LONG
public static int LONG { get; }
Property Value
LONG_FORMAT
public static int LONG_FORMAT { get; }
Property Value
LONG_STANDALONE
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Calendar.html#LONG_STANDALONE
public static int LONG_STANDALONE { get; }
Property Value
MARCH
public static int MARCH { get; }
Property Value
MAY
public static int MAY { get; }
Property Value
MILLISECOND
public static int MILLISECOND { get; }
Property Value
MINUTE
public static int MINUTE { get; }
Property Value
MONDAY
public static int MONDAY { get; }
Property Value
MONTH
public static int MONTH { get; }
Property Value
MinimalDaysInFirstWeek
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Calendar.html#getMinimalDaysInFirstWeek() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Calendar.html#setMinimalDaysInFirstWeek(int)
public int MinimalDaysInFirstWeek { get; set; }
Property Value
NARROW_FORMAT
public static int NARROW_FORMAT { get; }
Property Value
NARROW_STANDALONE
public static int NARROW_STANDALONE { get; }
Property Value
NOVEMBER
public static int NOVEMBER { get; }
Property Value
OCTOBER
public static int OCTOBER { get; }
Property Value
PM
public static int PM { get; }
Property Value
SATURDAY
public static int SATURDAY { get; }
Property Value
SECOND
public static int SECOND { get; }
Property Value
SEPTEMBER
public static int SEPTEMBER { get; }
Property Value
SHORT
public static int SHORT { get; }
Property Value
SHORT_FORMAT
public static int SHORT_FORMAT { get; }
Property Value
SHORT_STANDALONE
public static int SHORT_STANDALONE { get; }
Property Value
SUNDAY
public static int SUNDAY { get; }
Property Value
THURSDAY
public static int THURSDAY { get; }
Property Value
TUESDAY
public static int TUESDAY { get; }
Property Value
Time
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Calendar.html#getTime() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Calendar.html#setTime(java.util.Date)
public Date Time { get; set; }
Property Value
TimeInMillis
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Calendar.html#getTimeInMillis() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Calendar.html#setTimeInMillis(long)
public long TimeInMillis { get; set; }
Property Value
TimeZone
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Calendar.html#getTimeZone() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Calendar.html#setTimeZone(java.util.TimeZone)
public TimeZone TimeZone { get; set; }
Property Value
UNDECIMBER
public static int UNDECIMBER { get; }
Property Value
WEDNESDAY
public static int WEDNESDAY { get; }
Property Value
WEEK_OF_MONTH
public static int WEEK_OF_MONTH { get; }
Property Value
WEEK_OF_YEAR
public static int WEEK_OF_YEAR { get; }
Property Value
WeekYear
public int WeekYear { get; }
Property Value
WeeksInWeekYear
public int WeeksInWeekYear { get; }
Property Value
YEAR
public static int YEAR { get; }
Property Value
ZONE_OFFSET
public static int ZONE_OFFSET { get; }
Property Value
Methods
Add(int, int)
public void Add(int arg0, int arg1)
Parameters
After(object)
public bool After(object arg0)
Parameters
Returns
Before(object)
public bool Before(object arg0)
Parameters
Returns
Clear()
public void Clear()
Clear(int)
public void Clear(int arg0)
Parameters
CompareTo(Calendar)
public int CompareTo(Calendar arg0)
Parameters
Returns
CompareTo(object)
public int CompareTo(object arg0)
Parameters
Returns
Get(int)
public int Get(int arg0)
Parameters
Returns
GetActualMaximum(int)
public int GetActualMaximum(int arg0)
Parameters
Returns
GetActualMinimum(int)
public int GetActualMinimum(int arg0)
Parameters
Returns
GetDisplayName(int, int, Locale)
public String GetDisplayName(int arg0, int arg1, Locale arg2)
Parameters
Returns
GetDisplayNames(int, int, Locale)
public Map<String, Integer> GetDisplayNames(int arg0, int arg1, Locale arg2)
Parameters
Returns
GetGreatestMinimum(int)
public int GetGreatestMinimum(int arg0)
Parameters
Returns
GetInstance(Locale)
public static Calendar GetInstance(Locale arg0)
Parameters
Returns
GetInstance(TimeZone)
public static Calendar GetInstance(TimeZone arg0)
Parameters
Returns
GetInstance(TimeZone, Locale)
public static Calendar GetInstance(TimeZone arg0, Locale arg1)
Parameters
Returns
GetLeastMaximum(int)
public int GetLeastMaximum(int arg0)
Parameters
Returns
GetMaximum(int)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Calendar.html#getMaximum(int)
public int GetMaximum(int arg0)
Parameters
Returns
GetMinimum(int)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Calendar.html#getMinimum(int)
public int GetMinimum(int arg0)
Parameters
Returns
IsLenient()
public bool IsLenient()
Returns
IsSet(int)
public bool IsSet(int arg0)
Parameters
Returns
IsWeekDateSupported()
public bool IsWeekDateSupported()
Returns
Roll(int, bool)
public void Roll(int arg0, bool arg1)
Parameters
Roll(int, int)
public void Roll(int arg0, int arg1)
Parameters
Set(int, int)
public void Set(int arg0, int arg1)
Parameters
Set(int, int, int)
public void Set(int arg0, int arg1, int arg2)
Parameters
Set(int, int, int, int, int)
public void Set(int arg0, int arg1, int arg2, int arg3, int arg4)
Parameters
Set(int, int, int, int, int, int)
public void Set(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
Parameters
SetLenient(bool)
public void SetLenient(bool arg0)
Parameters
SetWeekDate(int, int, int)
public void SetWeekDate(int arg0, int arg1, int arg2)
Parameters
ToInstant()
public Instant ToInstant()
Returns
Operators
implicit operator Serializable(Calendar)
Converter from Calendar to Serializable
public static implicit operator Serializable(Calendar t)
Parameters
t
Calendar
Returns
implicit operator Cloneable(Calendar)
public static implicit operator Cloneable(Calendar t)
Parameters
t
Calendar
Returns
implicit operator Comparable(Calendar)
Converter from Calendar to Comparable
public static implicit operator Comparable(Calendar t)
Parameters
t
Calendar