Table of Contents

Class OffsetDateTime

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

OffsetDateTime()

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

public OffsetDateTime()

OffsetDateTime(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 OffsetDateTime(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 OffsetDateTime MAX { get; }

Property Value

OffsetDateTime

MIN

public static OffsetDateTime MIN { get; }

Property Value

OffsetDateTime

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

Methods

AdjustInto(Temporal)

public Temporal AdjustInto(Temporal arg0)

Parameters

arg0 Temporal

Temporal

Returns

Temporal

Temporal

AtZoneSameInstant(ZoneId)

public ZonedDateTime AtZoneSameInstant(ZoneId arg0)

Parameters

arg0 ZoneId

ZoneId

Returns

ZonedDateTime

ZonedDateTime

AtZoneSimilarLocal(ZoneId)

public ZonedDateTime AtZoneSimilarLocal(ZoneId arg0)

Parameters

arg0 ZoneId

ZoneId

Returns

ZonedDateTime

ZonedDateTime

CompareTo(OffsetDateTime)

public int CompareTo(OffsetDateTime arg0)

Parameters

arg0 OffsetDateTime

OffsetDateTime

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

From(TemporalAccessor)

public static OffsetDateTime From(TemporalAccessor arg0)

Parameters

arg0 TemporalAccessor

TemporalAccessor

Returns

OffsetDateTime

OffsetDateTime

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(OffsetDateTime)

public bool IsAfter(OffsetDateTime arg0)

Parameters

arg0 OffsetDateTime

OffsetDateTime

Returns

bool

bool

IsBefore(OffsetDateTime)

public bool IsBefore(OffsetDateTime arg0)

Parameters

arg0 OffsetDateTime

OffsetDateTime

Returns

bool

bool

IsEqual(OffsetDateTime)

public bool IsEqual(OffsetDateTime arg0)

Parameters

arg0 OffsetDateTime

OffsetDateTime

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

Minus(TemporalAmount)

public Temporal Minus(TemporalAmount arg0)

Parameters

arg0 TemporalAmount

TemporalAmount

Returns

Temporal

Temporal

Minus(long, TemporalUnit)

public Temporal Minus(long arg0, TemporalUnit arg1)

Parameters

arg0 long

long

arg1 TemporalUnit

TemporalUnit

Returns

Temporal

Temporal

MinusDays(long)

public OffsetDateTime MinusDays(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

MinusHours(long)

public OffsetDateTime MinusHours(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

MinusMinutes(long)

public OffsetDateTime MinusMinutes(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

MinusMonths(long)

public OffsetDateTime MinusMonths(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

MinusNanos(long)

public OffsetDateTime MinusNanos(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

MinusSeconds(long)

public OffsetDateTime MinusSeconds(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

MinusWeeks(long)

public OffsetDateTime MinusWeeks(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

MinusYears(long)

public OffsetDateTime MinusYears(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

Now()

public static OffsetDateTime Now()

Returns

OffsetDateTime

OffsetDateTime

Now(Clock)

public static OffsetDateTime Now(Clock arg0)

Parameters

arg0 Clock

Clock

Returns

OffsetDateTime

OffsetDateTime

Now(ZoneId)

public static OffsetDateTime Now(ZoneId arg0)

Parameters

arg0 ZoneId

ZoneId

Returns

OffsetDateTime

OffsetDateTime

Of(LocalDate, LocalTime, ZoneOffset)

public static OffsetDateTime Of(LocalDate arg0, LocalTime arg1, ZoneOffset arg2)

Parameters

arg0 LocalDate

LocalDate

arg1 LocalTime

LocalTime

arg2 ZoneOffset

ZoneOffset

Returns

OffsetDateTime

OffsetDateTime

Of(LocalDateTime, ZoneOffset)

public static OffsetDateTime Of(LocalDateTime arg0, ZoneOffset arg1)

Parameters

arg0 LocalDateTime

LocalDateTime

arg1 ZoneOffset

ZoneOffset

Returns

OffsetDateTime

OffsetDateTime

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

public static OffsetDateTime Of(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, ZoneOffset arg7)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

arg6 int

int

arg7 ZoneOffset

ZoneOffset

Returns

OffsetDateTime

OffsetDateTime

OfInstant(Instant, ZoneId)

public static OffsetDateTime OfInstant(Instant arg0, ZoneId arg1)

Parameters

arg0 Instant

Instant

arg1 ZoneId

ZoneId

Returns

OffsetDateTime

OffsetDateTime

Parse(CharSequence)

public static OffsetDateTime Parse(CharSequence arg0)

Parameters

arg0 CharSequence

CharSequence

Returns

OffsetDateTime

OffsetDateTime

Parse(CharSequence, DateTimeFormatter)

public static OffsetDateTime Parse(CharSequence arg0, DateTimeFormatter arg1)

Parameters

arg0 CharSequence

CharSequence

arg1 DateTimeFormatter

DateTimeFormatter

Returns

OffsetDateTime

OffsetDateTime

Plus(TemporalAmount)

public Temporal Plus(TemporalAmount arg0)

Parameters

arg0 TemporalAmount

TemporalAmount

Returns

Temporal

Temporal

Plus(long, TemporalUnit)

public Temporal Plus(long arg0, TemporalUnit arg1)

Parameters

arg0 long

long

arg1 TemporalUnit

TemporalUnit

Returns

Temporal

Temporal

PlusDays(long)

public OffsetDateTime PlusDays(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

PlusHours(long)

public OffsetDateTime PlusHours(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

PlusMinutes(long)

public OffsetDateTime PlusMinutes(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

PlusMonths(long)

public OffsetDateTime PlusMonths(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

PlusNanos(long)

public OffsetDateTime PlusNanos(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

PlusSeconds(long)

public OffsetDateTime PlusSeconds(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

PlusWeeks(long)

public OffsetDateTime PlusWeeks(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

PlusYears(long)

public OffsetDateTime PlusYears(long arg0)

Parameters

arg0 long

long

Returns

OffsetDateTime

OffsetDateTime

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

TimeLineOrder()

public static Comparator<OffsetDateTime> TimeLineOrder()

Returns

Comparator<OffsetDateTime>

Comparator

ToEpochSecond()

public long ToEpochSecond()

Returns

long

long

ToInstant()

public Instant ToInstant()

Returns

Instant

Instant

ToLocalDate()

public LocalDate ToLocalDate()

Returns

LocalDate

LocalDate

ToLocalDateTime()

public LocalDateTime ToLocalDateTime()

Returns

LocalDateTime

LocalDateTime

ToLocalTime()

public LocalTime ToLocalTime()

Returns

LocalTime

LocalTime

ToOffsetTime()

public OffsetTime ToOffsetTime()

Returns

OffsetTime

OffsetTime

ToZonedDateTime()

public ZonedDateTime ToZonedDateTime()

Returns

ZonedDateTime

ZonedDateTime

TruncatedTo(TemporalUnit)

public OffsetDateTime TruncatedTo(TemporalUnit arg0)

Parameters

arg0 TemporalUnit

TemporalUnit

Returns

OffsetDateTime

OffsetDateTime

Until(Temporal, TemporalUnit)

public long Until(Temporal arg0, TemporalUnit arg1)

Parameters

arg0 Temporal

Temporal

arg1 TemporalUnit

TemporalUnit

Returns

long

long

With(TemporalAdjuster)

public Temporal With(TemporalAdjuster arg0)

Parameters

arg0 TemporalAdjuster

TemporalAdjuster

Returns

Temporal

Temporal

With(TemporalField, long)

public Temporal With(TemporalField arg0, long arg1)

Parameters

arg0 TemporalField

TemporalField

arg1 long

long

Returns

Temporal

Temporal

WithDayOfMonth(int)

public OffsetDateTime WithDayOfMonth(int arg0)

Parameters

arg0 int

int

Returns

OffsetDateTime

OffsetDateTime

WithDayOfYear(int)

public OffsetDateTime WithDayOfYear(int arg0)

Parameters

arg0 int

int

Returns

OffsetDateTime

OffsetDateTime

WithHour(int)

public OffsetDateTime WithHour(int arg0)

Parameters

arg0 int

int

Returns

OffsetDateTime

OffsetDateTime

WithMinute(int)

public OffsetDateTime WithMinute(int arg0)

Parameters

arg0 int

int

Returns

OffsetDateTime

OffsetDateTime

WithMonth(int)

public OffsetDateTime WithMonth(int arg0)

Parameters

arg0 int

int

Returns

OffsetDateTime

OffsetDateTime

WithNano(int)

public OffsetDateTime WithNano(int arg0)

Parameters

arg0 int

int

Returns

OffsetDateTime

OffsetDateTime

WithOffsetSameInstant(ZoneOffset)

public OffsetDateTime WithOffsetSameInstant(ZoneOffset arg0)

Parameters

arg0 ZoneOffset

ZoneOffset

Returns

OffsetDateTime

OffsetDateTime

WithOffsetSameLocal(ZoneOffset)

public OffsetDateTime WithOffsetSameLocal(ZoneOffset arg0)

Parameters

arg0 ZoneOffset

ZoneOffset

Returns

OffsetDateTime

OffsetDateTime

WithSecond(int)

public OffsetDateTime WithSecond(int arg0)

Parameters

arg0 int

int

Returns

OffsetDateTime

OffsetDateTime

WithYear(int)

public OffsetDateTime WithYear(int arg0)

Parameters

arg0 int

int

Returns

OffsetDateTime

OffsetDateTime

Operators

implicit operator Serializable(OffsetDateTime)

Converter from OffsetDateTime to Serializable

public static implicit operator Serializable(OffsetDateTime t)

Parameters

t OffsetDateTime

Returns

Serializable

implicit operator Comparable(OffsetDateTime)

Converter from OffsetDateTime to Comparable

public static implicit operator Comparable(OffsetDateTime t)

Parameters

t OffsetDateTime

Returns

Comparable

implicit operator Temporal(OffsetDateTime)

Converter from OffsetDateTime to Temporal

public static implicit operator Temporal(OffsetDateTime t)

Parameters

t OffsetDateTime

Returns

Temporal

implicit operator TemporalAdjuster(OffsetDateTime)

Converter from OffsetDateTime to TemporalAdjuster

public static implicit operator TemporalAdjuster(OffsetDateTime t)

Parameters

t OffsetDateTime

Returns

TemporalAdjuster