Class DateTimeFormatter
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/format/DateTimeFormatter.html
public class DateTimeFormatter : JVMBridgeBase<DateTimeFormatter>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<DateTimeFormatter>DateTimeFormatter
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<DateTimeFormatter>.IsAssignableFrom(IJavaType)JVMBridgeBase<DateTimeFormatter>.IsAssignableFrom<T>()JVMBridgeBase<DateTimeFormatter>.Execute<T>(params T[])JVMBridgeBase<DateTimeFormatter>.DynBridgeClazzJVMBridgeBase<DateTimeFormatter>.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
DateTimeFormatter()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public DateTimeFormatter()
DateTimeFormatter(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
public DateTimeFormatter(params object[] args)
Parameters
args
object[]
Properties
BASIC_ISO_DATE
public static DateTimeFormatter BASIC_ISO_DATE { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Chronology
public Chronology Chronology { get; }
Property Value
DecimalStyle
public DecimalStyle DecimalStyle { get; }
Property Value
ISO_DATE
public static DateTimeFormatter ISO_DATE { get; }
Property Value
ISO_DATE_TIME
public static DateTimeFormatter ISO_DATE_TIME { get; }
Property Value
ISO_INSTANT
public static DateTimeFormatter ISO_INSTANT { get; }
Property Value
ISO_LOCAL_DATE
public static DateTimeFormatter ISO_LOCAL_DATE { get; }
Property Value
ISO_LOCAL_DATE_TIME
public static DateTimeFormatter ISO_LOCAL_DATE_TIME { get; }
Property Value
ISO_LOCAL_TIME
public static DateTimeFormatter ISO_LOCAL_TIME { get; }
Property Value
ISO_OFFSET_DATE
public static DateTimeFormatter ISO_OFFSET_DATE { get; }
Property Value
ISO_OFFSET_DATE_TIME
public static DateTimeFormatter ISO_OFFSET_DATE_TIME { get; }
Property Value
ISO_OFFSET_TIME
public static DateTimeFormatter ISO_OFFSET_TIME { get; }
Property Value
ISO_ORDINAL_DATE
public static DateTimeFormatter ISO_ORDINAL_DATE { get; }
Property Value
ISO_TIME
public static DateTimeFormatter ISO_TIME { get; }
Property Value
ISO_WEEK_DATE
public static DateTimeFormatter ISO_WEEK_DATE { get; }
Property Value
ISO_ZONED_DATE_TIME
public static DateTimeFormatter ISO_ZONED_DATE_TIME { 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
Locale
public Locale Locale { get; }
Property Value
RFC_1123_DATE_TIME
public static DateTimeFormatter RFC_1123_DATE_TIME { get; }
Property Value
ResolverFields
public Set<TemporalField> ResolverFields { get; }
Property Value
ResolverStyle
public ResolverStyle ResolverStyle { get; }
Property Value
Zone
public ZoneId Zone { get; }
Property Value
Methods
Format(TemporalAccessor)
public String Format(TemporalAccessor arg0)
Parameters
Returns
FormatTo(TemporalAccessor, Appendable)
public void FormatTo(TemporalAccessor arg0, Appendable arg1)
Parameters
arg0
TemporalAccessorarg1
Appendable
LocalizedBy(Locale)
public DateTimeFormatter LocalizedBy(Locale arg0)
Parameters
Returns
OfLocalizedDate(FormatStyle)
public static DateTimeFormatter OfLocalizedDate(FormatStyle arg0)
Parameters
arg0
FormatStyle
Returns
OfLocalizedDateTime(FormatStyle)
public static DateTimeFormatter OfLocalizedDateTime(FormatStyle arg0)
Parameters
arg0
FormatStyle
Returns
OfLocalizedDateTime(FormatStyle, FormatStyle)
public static DateTimeFormatter OfLocalizedDateTime(FormatStyle arg0, FormatStyle arg1)
Parameters
arg0
FormatStylearg1
FormatStyle
Returns
OfLocalizedTime(FormatStyle)
public static DateTimeFormatter OfLocalizedTime(FormatStyle arg0)
Parameters
arg0
FormatStyle
Returns
OfPattern(String)
public static DateTimeFormatter OfPattern(String arg0)
Parameters
Returns
OfPattern(String, Locale)
public static DateTimeFormatter OfPattern(String arg0, Locale arg1)
Parameters
Returns
Parse(CharSequence)
public TemporalAccessor Parse(CharSequence arg0)
Parameters
arg0
CharSequence
Returns
Parse(CharSequence, ParsePosition)
public TemporalAccessor Parse(CharSequence arg0, ParsePosition arg1)
Parameters
arg0
CharSequencearg1
ParsePosition
Returns
ParseBest(CharSequence, params TemporalQuery<object>[])
public TemporalAccessor ParseBest(CharSequence arg0, params TemporalQuery<object>[] arg1)
Parameters
arg0
CharSequencearg1
TemporalQuery<object>[]
Returns
ParseUnresolved(CharSequence, ParsePosition)
public TemporalAccessor ParseUnresolved(CharSequence arg0, ParsePosition arg1)
Parameters
arg0
CharSequencearg1
ParsePosition
Returns
Parse<T>(CharSequence, TemporalQuery<T>)
public T Parse<T>(CharSequence arg0, TemporalQuery<T> arg1)
Parameters
arg0
CharSequencearg1
TemporalQuery<T>
Returns
- T
T
Type Parameters
T
ParsedExcessDays()
public static TemporalQuery<Period> ParsedExcessDays()
Returns
ParsedLeapSecond()
public static TemporalQuery<Boolean> ParsedLeapSecond()
Returns
ToFormat()
public Format ToFormat()
Returns
ToFormat(TemporalQuery<object>)
public Format ToFormat(TemporalQuery<object> arg0)
Parameters
arg0
TemporalQuery<object>
Returns
WithChronology(Chronology)
public DateTimeFormatter WithChronology(Chronology arg0)
Parameters
arg0
Chronology
Returns
WithDecimalStyle(DecimalStyle)
public DateTimeFormatter WithDecimalStyle(DecimalStyle arg0)
Parameters
arg0
DecimalStyle
Returns
WithLocale(Locale)
public DateTimeFormatter WithLocale(Locale arg0)
Parameters
Returns
WithResolverFields(params TemporalField[])
public DateTimeFormatter WithResolverFields(params TemporalField[] arg0)
Parameters
arg0
TemporalField[]
Returns
WithResolverFields(Set<TemporalField>)
public DateTimeFormatter WithResolverFields(Set<TemporalField> arg0)
Parameters
arg0
Set<TemporalField>
Returns
WithResolverStyle(ResolverStyle)
public DateTimeFormatter WithResolverStyle(ResolverStyle arg0)
Parameters
Returns
WithZone(ZoneId)
public DateTimeFormatter WithZone(ZoneId arg0)