Class OffsetDateTime
public class OffsetDateTime : JVMBridgeBase<OffsetDateTime>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<OffsetDateTime>OffsetDateTime
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<OffsetDateTime>.IsAssignableFrom(IJavaType)JVMBridgeBase<OffsetDateTime>.IsAssignableFrom<T>()JVMBridgeBase<OffsetDateTime>.Execute<T>(params T[])JVMBridgeBase<OffsetDateTime>.DynBridgeClazzJVMBridgeBase<OffsetDateTime>.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
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
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
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/OffsetDateTime.html#getHour()
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 OffsetDateTime MAX { get; }
Property Value
MIN
public static OffsetDateTime MIN { get; }
Property Value
Minute
public int Minute { get; }
Property Value
Month
public Month Month { get; }
Property Value
MonthValue
public int MonthValue { get; }
Property Value
Nano
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/OffsetDateTime.html#getNano()
public int Nano { get; }
Property Value
Offset
public ZoneOffset Offset { get; }
Property Value
Second
public int Second { get; }
Property Value
Year
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/OffsetDateTime.html#getYear()
public int Year { get; }
Property Value
Methods
AdjustInto(Temporal)
public Temporal AdjustInto(Temporal arg0)
Parameters
Returns
AtZoneSameInstant(ZoneId)
public ZonedDateTime AtZoneSameInstant(ZoneId arg0)
Parameters
Returns
AtZoneSimilarLocal(ZoneId)
public ZonedDateTime AtZoneSimilarLocal(ZoneId arg0)
Parameters
Returns
CompareTo(OffsetDateTime)
public int CompareTo(OffsetDateTime arg0)
Parameters
Returns
CompareTo(object)
public int CompareTo(object arg0)
Parameters
Returns
Format(DateTimeFormatter)
public String Format(DateTimeFormatter arg0)
Parameters
Returns
From(TemporalAccessor)
public static OffsetDateTime From(TemporalAccessor arg0)
Parameters
Returns
Get(TemporalField)
public int Get(TemporalField arg0)
Parameters
Returns
GetLong(TemporalField)
public long GetLong(TemporalField arg0)
Parameters
Returns
IsAfter(OffsetDateTime)
public bool IsAfter(OffsetDateTime arg0)
Parameters
Returns
IsBefore(OffsetDateTime)
public bool IsBefore(OffsetDateTime arg0)
Parameters
Returns
IsEqual(OffsetDateTime)
public bool IsEqual(OffsetDateTime arg0)
Parameters
Returns
IsSupported(TemporalField)
public bool IsSupported(TemporalField arg0)
Parameters
Returns
IsSupported(TemporalUnit)
public bool IsSupported(TemporalUnit arg0)
Parameters
arg0
TemporalUnit
Returns
Minus(TemporalAmount)
public Temporal Minus(TemporalAmount arg0)
Parameters
Returns
Minus(long, TemporalUnit)
public Temporal Minus(long arg0, TemporalUnit arg1)
Parameters
arg0
longarg1
TemporalUnit
Returns
MinusDays(long)
public OffsetDateTime MinusDays(long arg0)
Parameters
Returns
MinusHours(long)
public OffsetDateTime MinusHours(long arg0)
Parameters
Returns
MinusMinutes(long)
public OffsetDateTime MinusMinutes(long arg0)
Parameters
Returns
MinusMonths(long)
public OffsetDateTime MinusMonths(long arg0)
Parameters
Returns
MinusNanos(long)
public OffsetDateTime MinusNanos(long arg0)
Parameters
Returns
MinusSeconds(long)
public OffsetDateTime MinusSeconds(long arg0)
Parameters
Returns
MinusWeeks(long)
public OffsetDateTime MinusWeeks(long arg0)
Parameters
Returns
MinusYears(long)
public OffsetDateTime MinusYears(long arg0)
Parameters
Returns
Now()
public static OffsetDateTime Now()
Returns
Now(Clock)
public static OffsetDateTime Now(Clock arg0)
Parameters
Returns
Now(ZoneId)
public static OffsetDateTime Now(ZoneId arg0)
Parameters
Returns
Of(LocalDate, LocalTime, ZoneOffset)
public static OffsetDateTime Of(LocalDate arg0, LocalTime arg1, ZoneOffset arg2)
Parameters
arg0
LocalDatearg1
LocalTimearg2
ZoneOffset
Returns
Of(LocalDateTime, ZoneOffset)
public static OffsetDateTime Of(LocalDateTime arg0, ZoneOffset arg1)
Parameters
arg0
LocalDateTimearg1
ZoneOffset
Returns
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
Returns
OfInstant(Instant, ZoneId)
public static OffsetDateTime OfInstant(Instant arg0, ZoneId arg1)
Parameters
Returns
Parse(CharSequence)
public static OffsetDateTime Parse(CharSequence arg0)
Parameters
arg0
CharSequence
Returns
Parse(CharSequence, DateTimeFormatter)
public static OffsetDateTime Parse(CharSequence arg0, DateTimeFormatter arg1)
Parameters
Returns
Plus(TemporalAmount)
public Temporal Plus(TemporalAmount arg0)
Parameters
Returns
Plus(long, TemporalUnit)
public Temporal Plus(long arg0, TemporalUnit arg1)
Parameters
arg0
longarg1
TemporalUnit
Returns
PlusDays(long)
public OffsetDateTime PlusDays(long arg0)
Parameters
Returns
PlusHours(long)
public OffsetDateTime PlusHours(long arg0)
Parameters
Returns
PlusMinutes(long)
public OffsetDateTime PlusMinutes(long arg0)
Parameters
Returns
PlusMonths(long)
public OffsetDateTime PlusMonths(long arg0)
Parameters
Returns
PlusNanos(long)
public OffsetDateTime PlusNanos(long arg0)
Parameters
Returns
PlusSeconds(long)
public OffsetDateTime PlusSeconds(long arg0)
Parameters
Returns
PlusWeeks(long)
public OffsetDateTime PlusWeeks(long arg0)
Parameters
Returns
PlusYears(long)
public OffsetDateTime 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
TimeLineOrder()
public static Comparator<OffsetDateTime> TimeLineOrder()
Returns
ToEpochSecond()
public long ToEpochSecond()
Returns
ToInstant()
public Instant ToInstant()
Returns
ToLocalDate()
public LocalDate ToLocalDate()
Returns
ToLocalDateTime()
public LocalDateTime ToLocalDateTime()
Returns
ToLocalTime()
public LocalTime ToLocalTime()
Returns
ToOffsetTime()
public OffsetTime ToOffsetTime()
Returns
ToZonedDateTime()
public ZonedDateTime ToZonedDateTime()
Returns
TruncatedTo(TemporalUnit)
public OffsetDateTime TruncatedTo(TemporalUnit arg0)
Parameters
arg0
TemporalUnit
Returns
Until(Temporal, TemporalUnit)
public long Until(Temporal arg0, TemporalUnit arg1)
Parameters
arg0
Temporalarg1
TemporalUnit
Returns
With(TemporalAdjuster)
public Temporal With(TemporalAdjuster arg0)
Parameters
Returns
With(TemporalField, long)
public Temporal With(TemporalField arg0, long arg1)
Parameters
arg0
TemporalFieldarg1
long
Returns
WithDayOfMonth(int)
public OffsetDateTime WithDayOfMonth(int arg0)
Parameters
Returns
WithDayOfYear(int)
public OffsetDateTime WithDayOfYear(int arg0)
Parameters
Returns
WithHour(int)
public OffsetDateTime WithHour(int arg0)
Parameters
Returns
WithMinute(int)
public OffsetDateTime WithMinute(int arg0)
Parameters
Returns
WithMonth(int)
public OffsetDateTime WithMonth(int arg0)
Parameters
Returns
WithNano(int)
public OffsetDateTime WithNano(int arg0)
Parameters
Returns
WithOffsetSameInstant(ZoneOffset)
public OffsetDateTime WithOffsetSameInstant(ZoneOffset arg0)
Parameters
arg0
ZoneOffset
Returns
WithOffsetSameLocal(ZoneOffset)
public OffsetDateTime WithOffsetSameLocal(ZoneOffset arg0)
Parameters
arg0
ZoneOffset
Returns
WithSecond(int)
public OffsetDateTime WithSecond(int arg0)
Parameters
Returns
WithYear(int)
public OffsetDateTime WithYear(int arg0)
Parameters
Returns
Operators
implicit operator Serializable(OffsetDateTime)
Converter from OffsetDateTime to Serializable
public static implicit operator Serializable(OffsetDateTime t)
Parameters
Returns
implicit operator Comparable(OffsetDateTime)
Converter from OffsetDateTime to Comparable
public static implicit operator Comparable(OffsetDateTime t)
Parameters
Returns
implicit operator Temporal(OffsetDateTime)
Converter from OffsetDateTime to Temporal
public static implicit operator Temporal(OffsetDateTime t)
Parameters
Returns
implicit operator TemporalAdjuster(OffsetDateTime)
Converter from OffsetDateTime to TemporalAdjuster
public static implicit operator TemporalAdjuster(OffsetDateTime t)