Table of Contents

Class ZonedDateTime

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

ZonedDateTime()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public ZonedDateTime()

ZonedDateTime(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 ZonedDateTime(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

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

Offset

public ZoneOffset Offset { get; }

Property Value

ZoneOffset

Second

public int Second { get; }

Property Value

int

Year

public int Year { get; }

Property Value

int

Zone

public ZoneId Zone { get; }

Property Value

ZoneId

Methods

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

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 ZonedDateTime MinusDays(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

MinusHours(long)

public ZonedDateTime MinusHours(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

MinusMinutes(long)

public ZonedDateTime MinusMinutes(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

MinusMonths(long)

public ZonedDateTime MinusMonths(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

MinusNanos(long)

public ZonedDateTime MinusNanos(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

MinusSeconds(long)

public ZonedDateTime MinusSeconds(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

MinusWeeks(long)

public ZonedDateTime MinusWeeks(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

MinusYears(long)

public ZonedDateTime MinusYears(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

Now()

public static ZonedDateTime Now()

Returns

ZonedDateTime

ZonedDateTime

Now(Clock)

public static ZonedDateTime Now(Clock arg0)

Parameters

arg0 Clock

Clock

Returns

ZonedDateTime

ZonedDateTime

Now(ZoneId)

public static ZonedDateTime Now(ZoneId arg0)

Parameters

arg0 ZoneId

ZoneId

Returns

ZonedDateTime

ZonedDateTime

Of(LocalDate, LocalTime, ZoneId)

public static ZonedDateTime Of(LocalDate arg0, LocalTime arg1, ZoneId arg2)

Parameters

arg0 LocalDate

LocalDate

arg1 LocalTime

LocalTime

arg2 ZoneId

ZoneId

Returns

ZonedDateTime

ZonedDateTime

Of(LocalDateTime, ZoneId)

public static ZonedDateTime Of(LocalDateTime arg0, ZoneId arg1)

Parameters

arg0 LocalDateTime

LocalDateTime

arg1 ZoneId

ZoneId

Returns

ZonedDateTime

ZonedDateTime

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

public static ZonedDateTime Of(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, ZoneId arg7)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

arg6 int

int

arg7 ZoneId

ZoneId

Returns

ZonedDateTime

ZonedDateTime

OfInstant(Instant, ZoneId)

public static ZonedDateTime OfInstant(Instant arg0, ZoneId arg1)

Parameters

arg0 Instant

Instant

arg1 ZoneId

ZoneId

Returns

ZonedDateTime

ZonedDateTime

OfInstant(LocalDateTime, ZoneOffset, ZoneId)

public static ZonedDateTime OfInstant(LocalDateTime arg0, ZoneOffset arg1, ZoneId arg2)

Parameters

arg0 LocalDateTime

LocalDateTime

arg1 ZoneOffset

ZoneOffset

arg2 ZoneId

ZoneId

Returns

ZonedDateTime

ZonedDateTime

OfLocal(LocalDateTime, ZoneId, ZoneOffset)

public static ZonedDateTime OfLocal(LocalDateTime arg0, ZoneId arg1, ZoneOffset arg2)

Parameters

arg0 LocalDateTime

LocalDateTime

arg1 ZoneId

ZoneId

arg2 ZoneOffset

ZoneOffset

Returns

ZonedDateTime

ZonedDateTime

OfStrict(LocalDateTime, ZoneOffset, ZoneId)

public static ZonedDateTime OfStrict(LocalDateTime arg0, ZoneOffset arg1, ZoneId arg2)

Parameters

arg0 LocalDateTime

LocalDateTime

arg1 ZoneOffset

ZoneOffset

arg2 ZoneId

ZoneId

Returns

ZonedDateTime

ZonedDateTime

Parse(CharSequence)

public static ZonedDateTime Parse(CharSequence arg0)

Parameters

arg0 CharSequence

CharSequence

Returns

ZonedDateTime

ZonedDateTime

Parse(CharSequence, DateTimeFormatter)

public static ZonedDateTime Parse(CharSequence arg0, DateTimeFormatter arg1)

Parameters

arg0 CharSequence

CharSequence

arg1 DateTimeFormatter

DateTimeFormatter

Returns

ZonedDateTime

ZonedDateTime

PlusDays(long)

public ZonedDateTime PlusDays(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

PlusHours(long)

public ZonedDateTime PlusHours(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

PlusMinutes(long)

public ZonedDateTime PlusMinutes(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

PlusMonths(long)

public ZonedDateTime PlusMonths(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

PlusNanos(long)

public ZonedDateTime PlusNanos(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

PlusSeconds(long)

public ZonedDateTime PlusSeconds(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

PlusWeeks(long)

public ZonedDateTime PlusWeeks(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

PlusYears(long)

public ZonedDateTime PlusYears(long arg0)

Parameters

arg0 long

long

Returns

ZonedDateTime

ZonedDateTime

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

ToLocalDateTime()

public ChronoLocalDateTime ToLocalDateTime()

Returns

ChronoLocalDateTime

ChronoLocalDateTime

ToLocalTime()

public LocalTime ToLocalTime()

Returns

LocalTime

LocalTime

ToOffsetDateTime()

public OffsetDateTime ToOffsetDateTime()

Returns

OffsetDateTime

OffsetDateTime

TruncatedTo(TemporalUnit)

public ZonedDateTime TruncatedTo(TemporalUnit arg0)

Parameters

arg0 TemporalUnit

TemporalUnit

Returns

ZonedDateTime

ZonedDateTime

Until(Temporal, TemporalUnit)

public long Until(Temporal arg0, TemporalUnit arg1)

Parameters

arg0 Temporal

Temporal

arg1 TemporalUnit

TemporalUnit

Returns

long

long

WithDayOfMonth(int)

public ZonedDateTime WithDayOfMonth(int arg0)

Parameters

arg0 int

int

Returns

ZonedDateTime

ZonedDateTime

WithDayOfYear(int)

public ZonedDateTime WithDayOfYear(int arg0)

Parameters

arg0 int

int

Returns

ZonedDateTime

ZonedDateTime

WithEarlierOffsetAtOverlap()

public ChronoZonedDateTime WithEarlierOffsetAtOverlap()

Returns

ChronoZonedDateTime

ChronoZonedDateTime

WithFixedOffsetZone()

public ZonedDateTime WithFixedOffsetZone()

Returns

ZonedDateTime

ZonedDateTime

WithHour(int)

public ZonedDateTime WithHour(int arg0)

Parameters

arg0 int

int

Returns

ZonedDateTime

ZonedDateTime

WithLaterOffsetAtOverlap()

public ChronoZonedDateTime WithLaterOffsetAtOverlap()

Returns

ChronoZonedDateTime

ChronoZonedDateTime

WithMinute(int)

public ZonedDateTime WithMinute(int arg0)

Parameters

arg0 int

int

Returns

ZonedDateTime

ZonedDateTime

WithMonth(int)

public ZonedDateTime WithMonth(int arg0)

Parameters

arg0 int

int

Returns

ZonedDateTime

ZonedDateTime

WithNano(int)

public ZonedDateTime WithNano(int arg0)

Parameters

arg0 int

int

Returns

ZonedDateTime

ZonedDateTime

WithSecond(int)

public ZonedDateTime WithSecond(int arg0)

Parameters

arg0 int

int

Returns

ZonedDateTime

ZonedDateTime

WithYear(int)

public ZonedDateTime WithYear(int arg0)

Parameters

arg0 int

int

Returns

ZonedDateTime

ZonedDateTime

WithZoneSameInstant(ZoneId)

public ChronoZonedDateTime WithZoneSameInstant(ZoneId arg0)

Parameters

arg0 ZoneId

ZoneId

Returns

ChronoZonedDateTime

ChronoZonedDateTime

WithZoneSameLocal(ZoneId)

public ChronoZonedDateTime WithZoneSameLocal(ZoneId arg0)

Parameters

arg0 ZoneId

ZoneId

Returns

ChronoZonedDateTime

ChronoZonedDateTime

Operators

implicit operator Serializable(ZonedDateTime)

Converter from ZonedDateTime to Serializable

public static implicit operator Serializable(ZonedDateTime t)

Parameters

t ZonedDateTime

Returns

Serializable

implicit operator ChronoZonedDateTime(ZonedDateTime)

public static implicit operator ChronoZonedDateTime(ZonedDateTime t)

Parameters

t ZonedDateTime

Returns

ChronoZonedDateTime

implicit operator Temporal(ZonedDateTime)

Converter from ZonedDateTime to Temporal

public static implicit operator Temporal(ZonedDateTime t)

Parameters

t ZonedDateTime

Returns

Temporal