Class LocalDateTime
public class LocalDateTime : JVMBridgeBase<LocalDateTime>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<LocalDateTime>LocalDateTime
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<LocalDateTime>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<LocalDateTime>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])JVMBridgeBase<LocalDateTime>.IsAssignableFrom(IJavaType)JVMBridgeBase<LocalDateTime>.IsAssignableFrom<T>()JVMBridgeBase<LocalDateTime>.Execute<T>(params T[])JVMBridgeBase<LocalDateTime>.DynBridgeClazzJVMBridgeBase<LocalDateTime>.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
LocalDateTime()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public LocalDateTime()
LocalDateTime(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 LocalDateTime(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
DayOfMonth
public int DayOfMonth { get; }
Property Value
DayOfWeek
public DayOfWeek DayOfWeek { get; }
Property Value
DayOfYear
public int DayOfYear { get; }
Property Value
Hour
public int Hour { 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
MAX
public static LocalDateTime MAX { get; }
Property Value
MIN
public static LocalDateTime MIN { get; }
Property Value
Minute
public int Minute { get; }
Property Value
Month
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/LocalDateTime.html#getMonth()
public Month Month { get; }
Property Value
MonthValue
public int MonthValue { get; }
Property Value
Nano
public int Nano { get; }
Property Value
Second
public int Second { get; }
Property Value
Year
public int Year { get; }
Property Value
Methods
AdjustInto(Temporal)
public Temporal AdjustInto(Temporal arg0)
Parameters
Returns
AtOffset(ZoneOffset)
public OffsetDateTime AtOffset(ZoneOffset arg0)
Parameters
arg0
ZoneOffset
Returns
AtZone(ZoneId)
public ChronoZonedDateTime AtZone(ZoneId arg0)
Parameters
Returns
CompareTo(ChronoLocalDateTime)
public int CompareTo(ChronoLocalDateTime arg0)
Parameters
Returns
CompareTo(object)
public int CompareTo(object arg0)
Parameters
Returns
Format(DateTimeFormatter)
public String Format(DateTimeFormatter arg0)
Parameters
Returns
Get(TemporalField)
public int Get(TemporalField arg0)
Parameters
Returns
GetLong(TemporalField)
public long GetLong(TemporalField arg0)
Parameters
Returns
IsAfter(ChronoLocalDateTime)
public bool IsAfter(ChronoLocalDateTime arg0)
Parameters
Returns
IsBefore(ChronoLocalDateTime)
public bool IsBefore(ChronoLocalDateTime arg0)
Parameters
Returns
IsEqual(ChronoLocalDateTime)
public bool IsEqual(ChronoLocalDateTime arg0)
Parameters
Returns
IsSupported(TemporalField)
public bool IsSupported(TemporalField arg0)
Parameters
Returns
IsSupported(TemporalUnit)
public bool IsSupported(TemporalUnit arg0)
Parameters
arg0
TemporalUnit
Returns
MinusDays(long)
public LocalDateTime MinusDays(long arg0)
Parameters
Returns
MinusHours(long)
public LocalDateTime MinusHours(long arg0)
Parameters
Returns
MinusMinutes(long)
public LocalDateTime MinusMinutes(long arg0)
Parameters
Returns
MinusMonths(long)
public LocalDateTime MinusMonths(long arg0)
Parameters
Returns
MinusNanos(long)
public LocalDateTime MinusNanos(long arg0)
Parameters
Returns
MinusSeconds(long)
public LocalDateTime MinusSeconds(long arg0)
Parameters
Returns
MinusWeeks(long)
public LocalDateTime MinusWeeks(long arg0)
Parameters
Returns
MinusYears(long)
public LocalDateTime MinusYears(long arg0)
Parameters
Returns
Now()
public static LocalDateTime Now()
Returns
Now(Clock)
public static LocalDateTime Now(Clock arg0)
Parameters
Returns
Now(ZoneId)
public static LocalDateTime Now(ZoneId arg0)
Parameters
Returns
Of(LocalDate, LocalTime)
public static LocalDateTime Of(LocalDate arg0, LocalTime arg1)
Parameters
Returns
Of(int, Month, int, int, int)
public static LocalDateTime Of(int arg0, Month arg1, int arg2, int arg3, int arg4)
Parameters
Returns
Of(int, Month, int, int, int, int)
public static LocalDateTime Of(int arg0, Month arg1, int arg2, int arg3, int arg4, int arg5)
Parameters
Returns
Of(int, Month, int, int, int, int, int)
public static LocalDateTime Of(int arg0, Month arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
Parameters
Returns
Of(int, int, int, int, int)
public static LocalDateTime Of(int arg0, int arg1, int arg2, int arg3, int arg4)
Parameters
Returns
Of(int, int, int, int, int, int)
public static LocalDateTime Of(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
Parameters
Returns
Of(int, int, int, int, int, int, int)
public static LocalDateTime Of(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
Parameters
Returns
OfEpochSecond(long, int, ZoneOffset)
public static LocalDateTime OfEpochSecond(long arg0, int arg1, ZoneOffset arg2)
Parameters
arg0
longarg1
intarg2
ZoneOffset
Returns
OfInstant(Instant, ZoneId)
public static LocalDateTime OfInstant(Instant arg0, ZoneId arg1)
Parameters
Returns
Parse(CharSequence)
public static LocalDateTime Parse(CharSequence arg0)
Parameters
arg0
CharSequence
Returns
Parse(CharSequence, DateTimeFormatter)
public static LocalDateTime Parse(CharSequence arg0, DateTimeFormatter arg1)
Parameters
Returns
PlusDays(long)
public LocalDateTime PlusDays(long arg0)
Parameters
Returns
PlusHours(long)
public LocalDateTime PlusHours(long arg0)
Parameters
Returns
PlusMinutes(long)
public LocalDateTime PlusMinutes(long arg0)
Parameters
Returns
PlusMonths(long)
public LocalDateTime PlusMonths(long arg0)
Parameters
Returns
PlusNanos(long)
public LocalDateTime PlusNanos(long arg0)
Parameters
Returns
PlusSeconds(long)
public LocalDateTime PlusSeconds(long arg0)
Parameters
Returns
PlusWeeks(long)
public LocalDateTime PlusWeeks(long arg0)
Parameters
Returns
PlusYears(long)
public LocalDateTime PlusYears(long arg0)
Parameters
Returns
Query<R>(TemporalQuery<R>)
public R Query<R>(TemporalQuery<R> arg0)
Parameters
arg0
TemporalQuery<R>
Returns
- R
R
Type Parameters
R
Range(TemporalField)
public ValueRange Range(TemporalField arg0)
Parameters
Returns
ToLocalDate()
public ChronoLocalDate ToLocalDate()
Returns
ToLocalTime()
public LocalTime ToLocalTime()
Returns
TruncatedTo(TemporalUnit)
public LocalDateTime TruncatedTo(TemporalUnit arg0)
Parameters
arg0
TemporalUnit
Returns
Until(Temporal, TemporalUnit)
public long Until(Temporal arg0, TemporalUnit arg1)
Parameters
arg0
Temporalarg1
TemporalUnit
Returns
WithDayOfMonth(int)
public LocalDateTime WithDayOfMonth(int arg0)
Parameters
Returns
WithDayOfYear(int)
public LocalDateTime WithDayOfYear(int arg0)
Parameters
Returns
WithHour(int)
public LocalDateTime WithHour(int arg0)
Parameters
Returns
WithMinute(int)
public LocalDateTime WithMinute(int arg0)
Parameters
Returns
WithMonth(int)
public LocalDateTime WithMonth(int arg0)
Parameters
Returns
WithNano(int)
public LocalDateTime WithNano(int arg0)
Parameters
Returns
WithSecond(int)
public LocalDateTime WithSecond(int arg0)
Parameters
Returns
WithYear(int)
public LocalDateTime WithYear(int arg0)
Parameters
Returns
Operators
implicit operator Serializable(LocalDateTime)
Converter from LocalDateTime to Serializable
public static implicit operator Serializable(LocalDateTime t)
Parameters
Returns
implicit operator ChronoLocalDateTime(LocalDateTime)
Converter from LocalDateTime to ChronoLocalDateTime
public static implicit operator ChronoLocalDateTime(LocalDateTime t)
Parameters
Returns
implicit operator Temporal(LocalDateTime)
Converter from LocalDateTime to Temporal
public static implicit operator Temporal(LocalDateTime t)
Parameters
Returns
implicit operator TemporalAdjuster(LocalDateTime)
Converter from LocalDateTime to TemporalAdjuster
public static implicit operator TemporalAdjuster(LocalDateTime t)