Class DateFormat
public class DateFormat : Format, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Format>DateFormat
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<Format>.IsAssignableFrom(IJavaType)JVMBridgeBase<Format>.IsAssignableFrom<T>()JVMBridgeBase<Format>.Execute<T>(params T[])JVMBridgeBase<Format>.DynBridgeClazzJVMBridgeBase<Format>.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
DateFormat()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("DateFormat 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 DateFormat()
DateFormat(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("DateFormat 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 DateFormat(params object[] args)
Parameters
args
object[]
Properties
AM_PM_FIELD
public static int AM_PM_FIELD { 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
Calendar
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/DateFormat.html#getCalendar() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/DateFormat.html#setCalendar(java.util.Calendar)
public Calendar Calendar { get; set; }
Property Value
DATE_FIELD
public static int DATE_FIELD { get; }
Property Value
DAY_OF_WEEK_FIELD
public static int DAY_OF_WEEK_FIELD { get; }
Property Value
DAY_OF_WEEK_IN_MONTH_FIELD
public static int DAY_OF_WEEK_IN_MONTH_FIELD { get; }
Property Value
DAY_OF_YEAR_FIELD
public static int DAY_OF_YEAR_FIELD { get; }
Property Value
DEFAULT
public static int DEFAULT { get; }
Property Value
DateInstance
public static DateFormat DateInstance { get; }
Property Value
DateTimeInstance
public static DateFormat DateTimeInstance { get; }
Property Value
ERA_FIELD
public static int ERA_FIELD { get; }
Property Value
FULL
public static int FULL { get; }
Property Value
HOUR0_FIELD
public static int HOUR0_FIELD { get; }
Property Value
HOUR1_FIELD
public static int HOUR1_FIELD { get; }
Property Value
HOUR_OF_DAY0_FIELD
public static int HOUR_OF_DAY0_FIELD { get; }
Property Value
HOUR_OF_DAY1_FIELD
public static int HOUR_OF_DAY1_FIELD { get; }
Property Value
Instance
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/DateFormat.html#getInstance()
public static DateFormat 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
LONG
public static int LONG { get; }
Property Value
MEDIUM
public static int MEDIUM { get; }
Property Value
MILLISECOND_FIELD
public static int MILLISECOND_FIELD { get; }
Property Value
MINUTE_FIELD
public static int MINUTE_FIELD { get; }
Property Value
MONTH_FIELD
public static int MONTH_FIELD { get; }
Property Value
NumberFormat
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/DateFormat.html#getNumberFormat() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/DateFormat.html#setNumberFormat(java.text.NumberFormat)
public NumberFormat NumberFormat { get; set; }
Property Value
SECOND_FIELD
public static int SECOND_FIELD { get; }
Property Value
SHORT
public static int SHORT { get; }
Property Value
TIMEZONE_FIELD
public static int TIMEZONE_FIELD { get; }
Property Value
TimeInstance
public static DateFormat TimeInstance { get; }
Property Value
TimeZone
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/DateFormat.html#getTimeZone() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/DateFormat.html#setTimeZone(java.util.TimeZone)
public TimeZone TimeZone { get; set; }
Property Value
WEEK_OF_MONTH_FIELD
public static int WEEK_OF_MONTH_FIELD { get; }
Property Value
WEEK_OF_YEAR_FIELD
public static int WEEK_OF_YEAR_FIELD { get; }
Property Value
YEAR_FIELD
public static int YEAR_FIELD { get; }
Property Value
Methods
Format(Date)
public String Format(Date arg0)
Parameters
Returns
Format(Date, StringBuffer, FieldPosition)
public StringBuffer Format(Date arg0, StringBuffer arg1, FieldPosition arg2)
Parameters
arg0
Datearg1
StringBufferarg2
FieldPosition
Returns
GetDateInstance(int)
public static DateFormat GetDateInstance(int arg0)
Parameters
Returns
GetDateInstance(int, Locale)
public static DateFormat GetDateInstance(int arg0, Locale arg1)
Parameters
Returns
GetDateTimeInstance(int, int)
public static DateFormat GetDateTimeInstance(int arg0, int arg1)
Parameters
Returns
GetDateTimeInstance(int, int, Locale)
public static DateFormat GetDateTimeInstance(int arg0, int arg1, Locale arg2)
Parameters
Returns
GetTimeInstance(int)
public static DateFormat GetTimeInstance(int arg0)
Parameters
Returns
GetTimeInstance(int, Locale)
public static DateFormat GetTimeInstance(int arg0, Locale arg1)
Parameters
Returns
IsLenient()
public bool IsLenient()
Returns
Parse(String)
public Date Parse(String arg0)
Parameters
Returns
Exceptions
Parse(String, ParsePosition)
public Date Parse(String arg0, ParsePosition arg1)
Parameters
arg0
Stringarg1
ParsePosition
Returns
SetLenient(bool)
public void SetLenient(bool arg0)