Table of Contents

Class LocalDateTime

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

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

public override string BridgeClassName { get; }

Property Value

string

DayOfMonth

public int DayOfMonth { get; }

Property Value

int

DayOfWeek

public DayOfWeek DayOfWeek { get; }

Property Value

DayOfWeek

DayOfYear

public int DayOfYear { get; }

Property Value

int

Hour

public int Hour { get; }

Property Value

int

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

MAX

public static LocalDateTime MAX { get; }

Property Value

LocalDateTime

MIN

public static LocalDateTime MIN { get; }

Property Value

LocalDateTime

Minute

public int Minute { get; }

Property Value

int

Month

public Month Month { get; }

Property Value

Month

MonthValue

public int MonthValue { get; }

Property Value

int

Nano

public int Nano { get; }

Property Value

int

Second

public int Second { get; }

Property Value

int

Year

public int Year { get; }

Property Value

int

Methods

AdjustInto(Temporal)

public Temporal AdjustInto(Temporal arg0)

Parameters

arg0 Temporal

Temporal

Returns

Temporal

Temporal

AtOffset(ZoneOffset)

public OffsetDateTime AtOffset(ZoneOffset arg0)

Parameters

arg0 ZoneOffset

ZoneOffset

Returns

OffsetDateTime

OffsetDateTime

AtZone(ZoneId)

public ChronoZonedDateTime AtZone(ZoneId arg0)

Parameters

arg0 ZoneId

ZoneId

Returns

ChronoZonedDateTime

ChronoZonedDateTime

CompareTo(ChronoLocalDateTime)

public int CompareTo(ChronoLocalDateTime arg0)

Parameters

arg0 ChronoLocalDateTime

ChronoLocalDateTime

Returns

int

int

CompareTo(object)

public int CompareTo(object arg0)

Parameters

arg0 object

object

Returns

int

int

Format(DateTimeFormatter)

public String Format(DateTimeFormatter arg0)

Parameters

arg0 DateTimeFormatter

DateTimeFormatter

Returns

String

String

Get(TemporalField)

public int Get(TemporalField arg0)

Parameters

arg0 TemporalField

TemporalField

Returns

int

int

GetLong(TemporalField)

public long GetLong(TemporalField arg0)

Parameters

arg0 TemporalField

TemporalField

Returns

long

long

IsAfter(ChronoLocalDateTime)

public bool IsAfter(ChronoLocalDateTime arg0)

Parameters

arg0 ChronoLocalDateTime

ChronoLocalDateTime

Returns

bool

bool

IsBefore(ChronoLocalDateTime)

public bool IsBefore(ChronoLocalDateTime arg0)

Parameters

arg0 ChronoLocalDateTime

ChronoLocalDateTime

Returns

bool

bool

IsEqual(ChronoLocalDateTime)

public bool IsEqual(ChronoLocalDateTime arg0)

Parameters

arg0 ChronoLocalDateTime

ChronoLocalDateTime

Returns

bool

bool

IsSupported(TemporalField)

public bool IsSupported(TemporalField arg0)

Parameters

arg0 TemporalField

TemporalField

Returns

bool

bool

IsSupported(TemporalUnit)

public bool IsSupported(TemporalUnit arg0)

Parameters

arg0 TemporalUnit

TemporalUnit

Returns

bool

bool

MinusDays(long)

public LocalDateTime MinusDays(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

MinusHours(long)

public LocalDateTime MinusHours(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

MinusMinutes(long)

public LocalDateTime MinusMinutes(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

MinusMonths(long)

public LocalDateTime MinusMonths(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

MinusNanos(long)

public LocalDateTime MinusNanos(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

MinusSeconds(long)

public LocalDateTime MinusSeconds(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

MinusWeeks(long)

public LocalDateTime MinusWeeks(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

MinusYears(long)

public LocalDateTime MinusYears(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

Now()

public static LocalDateTime Now()

Returns

LocalDateTime

LocalDateTime

Now(Clock)

public static LocalDateTime Now(Clock arg0)

Parameters

arg0 Clock

Clock

Returns

LocalDateTime

LocalDateTime

Now(ZoneId)

public static LocalDateTime Now(ZoneId arg0)

Parameters

arg0 ZoneId

ZoneId

Returns

LocalDateTime

LocalDateTime

Of(LocalDate, LocalTime)

public static LocalDateTime Of(LocalDate arg0, LocalTime arg1)

Parameters

arg0 LocalDate

LocalDate

arg1 LocalTime

LocalTime

Returns

LocalDateTime

LocalDateTime

Of(int, Month, int, int, int)

public static LocalDateTime Of(int arg0, Month arg1, int arg2, int arg3, int arg4)

Parameters

arg0 int

int

arg1 Month

Month

arg2 int

int

arg3 int

int

arg4 int

int

Returns

LocalDateTime

LocalDateTime

Of(int, Month, int, int, int, int)

public static LocalDateTime Of(int arg0, Month arg1, int arg2, int arg3, int arg4, int arg5)

Parameters

arg0 int

int

arg1 Month

Month

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

Returns

LocalDateTime

LocalDateTime

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

arg0 int

int

arg1 Month

Month

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

arg6 int

int

Returns

LocalDateTime

LocalDateTime

Of(int, int, int, int, int)

public static LocalDateTime Of(int arg0, int arg1, int arg2, int arg3, int arg4)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

Returns

LocalDateTime

LocalDateTime

Of(int, int, int, int, int, int)

public static LocalDateTime Of(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

Returns

LocalDateTime

LocalDateTime

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

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

arg6 int

int

Returns

LocalDateTime

LocalDateTime

OfEpochSecond(long, int, ZoneOffset)

public static LocalDateTime OfEpochSecond(long arg0, int arg1, ZoneOffset arg2)

Parameters

arg0 long

long

arg1 int

int

arg2 ZoneOffset

ZoneOffset

Returns

LocalDateTime

LocalDateTime

OfInstant(Instant, ZoneId)

public static LocalDateTime OfInstant(Instant arg0, ZoneId arg1)

Parameters

arg0 Instant

Instant

arg1 ZoneId

ZoneId

Returns

LocalDateTime

LocalDateTime

Parse(CharSequence)

public static LocalDateTime Parse(CharSequence arg0)

Parameters

arg0 CharSequence

CharSequence

Returns

LocalDateTime

LocalDateTime

Parse(CharSequence, DateTimeFormatter)

public static LocalDateTime Parse(CharSequence arg0, DateTimeFormatter arg1)

Parameters

arg0 CharSequence

CharSequence

arg1 DateTimeFormatter

DateTimeFormatter

Returns

LocalDateTime

LocalDateTime

PlusDays(long)

public LocalDateTime PlusDays(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

PlusHours(long)

public LocalDateTime PlusHours(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

PlusMinutes(long)

public LocalDateTime PlusMinutes(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

PlusMonths(long)

public LocalDateTime PlusMonths(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

PlusNanos(long)

public LocalDateTime PlusNanos(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

PlusSeconds(long)

public LocalDateTime PlusSeconds(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

PlusWeeks(long)

public LocalDateTime PlusWeeks(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

PlusYears(long)

public LocalDateTime PlusYears(long arg0)

Parameters

arg0 long

long

Returns

LocalDateTime

LocalDateTime

Query<R>(TemporalQuery<R>)

public R Query<R>(TemporalQuery<R> arg0)

Parameters

arg0 TemporalQuery<R>

TemporalQuery

Returns

R

R

Type Parameters

R

Range(TemporalField)

public ValueRange Range(TemporalField arg0)

Parameters

arg0 TemporalField

TemporalField

Returns

ValueRange

ValueRange

ToLocalDate()

public ChronoLocalDate ToLocalDate()

Returns

ChronoLocalDate

ChronoLocalDate

ToLocalTime()

public LocalTime ToLocalTime()

Returns

LocalTime

LocalTime

TruncatedTo(TemporalUnit)

public LocalDateTime TruncatedTo(TemporalUnit arg0)

Parameters

arg0 TemporalUnit

TemporalUnit

Returns

LocalDateTime

LocalDateTime

Until(Temporal, TemporalUnit)

public long Until(Temporal arg0, TemporalUnit arg1)

Parameters

arg0 Temporal

Temporal

arg1 TemporalUnit

TemporalUnit

Returns

long

long

WithDayOfMonth(int)

public LocalDateTime WithDayOfMonth(int arg0)

Parameters

arg0 int

int

Returns

LocalDateTime

LocalDateTime

WithDayOfYear(int)

public LocalDateTime WithDayOfYear(int arg0)

Parameters

arg0 int

int

Returns

LocalDateTime

LocalDateTime

WithHour(int)

public LocalDateTime WithHour(int arg0)

Parameters

arg0 int

int

Returns

LocalDateTime

LocalDateTime

WithMinute(int)

public LocalDateTime WithMinute(int arg0)

Parameters

arg0 int

int

Returns

LocalDateTime

LocalDateTime

WithMonth(int)

public LocalDateTime WithMonth(int arg0)

Parameters

arg0 int

int

Returns

LocalDateTime

LocalDateTime

WithNano(int)

public LocalDateTime WithNano(int arg0)

Parameters

arg0 int

int

Returns

LocalDateTime

LocalDateTime

WithSecond(int)

public LocalDateTime WithSecond(int arg0)

Parameters

arg0 int

int

Returns

LocalDateTime

LocalDateTime

WithYear(int)

public LocalDateTime WithYear(int arg0)

Parameters

arg0 int

int

Returns

LocalDateTime

LocalDateTime

Operators

implicit operator Serializable(LocalDateTime)

Converter from LocalDateTime to Serializable

public static implicit operator Serializable(LocalDateTime t)

Parameters

t LocalDateTime

Returns

Serializable

implicit operator ChronoLocalDateTime(LocalDateTime)

public static implicit operator ChronoLocalDateTime(LocalDateTime t)

Parameters

t LocalDateTime

Returns

ChronoLocalDateTime

implicit operator Temporal(LocalDateTime)

Converter from LocalDateTime to Temporal

public static implicit operator Temporal(LocalDateTime t)

Parameters

t LocalDateTime

Returns

Temporal

implicit operator TemporalAdjuster(LocalDateTime)

Converter from LocalDateTime to TemporalAdjuster

public static implicit operator TemporalAdjuster(LocalDateTime t)

Parameters

t LocalDateTime

Returns

TemporalAdjuster