Table of Contents

Class DateFormat

Namespace
Java.Text
Assembly
MASES.JNet.dll
public class DateFormat : Format, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Format>
DateFormat
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<Format>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Format>.IsAssignableFrom<T>()
JVMBridgeBase<Format>.Execute<T>(params T[])
JVMBridgeBase<Format>.DynBridgeClazz
JVMBridgeBase<Format>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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

int

AvailableLocales

public static Locale[] AvailableLocales { get; }

Property Value

Locale[]

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Calendar

public Calendar Calendar { get; set; }

Property Value

Calendar

DATE_FIELD

public static int DATE_FIELD { get; }

Property Value

int

DAY_OF_WEEK_FIELD

public static int DAY_OF_WEEK_FIELD { get; }

Property Value

int

DAY_OF_WEEK_IN_MONTH_FIELD

public static int DAY_OF_WEEK_IN_MONTH_FIELD { get; }

Property Value

int

DAY_OF_YEAR_FIELD

public static int DAY_OF_YEAR_FIELD { get; }

Property Value

int

DEFAULT

public static int DEFAULT { get; }

Property Value

int

DateInstance

public static DateFormat DateInstance { get; }

Property Value

DateFormat

DateTimeInstance

public static DateFormat DateTimeInstance { get; }

Property Value

DateFormat

ERA_FIELD

public static int ERA_FIELD { get; }

Property Value

int

FULL

public static int FULL { get; }

Property Value

int

HOUR0_FIELD

public static int HOUR0_FIELD { get; }

Property Value

int

HOUR1_FIELD

public static int HOUR1_FIELD { get; }

Property Value

int

HOUR_OF_DAY0_FIELD

public static int HOUR_OF_DAY0_FIELD { get; }

Property Value

int

HOUR_OF_DAY1_FIELD

public static int HOUR_OF_DAY1_FIELD { get; }

Property Value

int

Instance

public static DateFormat Instance { get; }

Property Value

DateFormat

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

LONG

public static int LONG { get; }

Property Value

int

MEDIUM

public static int MEDIUM { get; }

Property Value

int

MILLISECOND_FIELD

public static int MILLISECOND_FIELD { get; }

Property Value

int

MINUTE_FIELD

public static int MINUTE_FIELD { get; }

Property Value

int

MONTH_FIELD

public static int MONTH_FIELD { get; }

Property Value

int

NumberFormat

public NumberFormat NumberFormat { get; set; }

Property Value

NumberFormat

SECOND_FIELD

public static int SECOND_FIELD { get; }

Property Value

int

SHORT

public static int SHORT { get; }

Property Value

int

TIMEZONE_FIELD

public static int TIMEZONE_FIELD { get; }

Property Value

int

TimeInstance

public static DateFormat TimeInstance { get; }

Property Value

DateFormat

TimeZone

public TimeZone TimeZone { get; set; }

Property Value

TimeZone

WEEK_OF_MONTH_FIELD

public static int WEEK_OF_MONTH_FIELD { get; }

Property Value

int

WEEK_OF_YEAR_FIELD

public static int WEEK_OF_YEAR_FIELD { get; }

Property Value

int

YEAR_FIELD

public static int YEAR_FIELD { get; }

Property Value

int

Methods

Format(Date)

public String Format(Date arg0)

Parameters

arg0 Date

Date

Returns

String

String

Format(Date, StringBuffer, FieldPosition)

public StringBuffer Format(Date arg0, StringBuffer arg1, FieldPosition arg2)

Parameters

arg0 Date

Date

arg1 StringBuffer

StringBuffer

arg2 FieldPosition

FieldPosition

Returns

StringBuffer

StringBuffer

GetDateInstance(int)

public static DateFormat GetDateInstance(int arg0)

Parameters

arg0 int

int

Returns

DateFormat

DateFormat

GetDateInstance(int, Locale)

public static DateFormat GetDateInstance(int arg0, Locale arg1)

Parameters

arg0 int

int

arg1 Locale

Locale

Returns

DateFormat

DateFormat

GetDateTimeInstance(int, int)

public static DateFormat GetDateTimeInstance(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

DateFormat

DateFormat

GetDateTimeInstance(int, int, Locale)

public static DateFormat GetDateTimeInstance(int arg0, int arg1, Locale arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 Locale

Locale

Returns

DateFormat

DateFormat

GetTimeInstance(int)

public static DateFormat GetTimeInstance(int arg0)

Parameters

arg0 int

int

Returns

DateFormat

DateFormat

GetTimeInstance(int, Locale)

public static DateFormat GetTimeInstance(int arg0, Locale arg1)

Parameters

arg0 int

int

arg1 Locale

Locale

Returns

DateFormat

DateFormat

IsLenient()

public bool IsLenient()

Returns

bool

bool

Parse(String)

public Date Parse(String arg0)

Parameters

arg0 String

String

Returns

Date

Date

Exceptions

ParseException

Parse(String, ParsePosition)

public Date Parse(String arg0, ParsePosition arg1)

Parameters

arg0 String

String

arg1 ParsePosition

ParsePosition

Returns

Date

Date

SetLenient(bool)

public void SetLenient(bool arg0)

Parameters

arg0 bool

bool