Share via


ZonedDateTime.Of Method

Definition

Overloads

Of(LocalDateTime, ZoneId)
Of(LocalDate, LocalTime, ZoneId)
Of(Int32, Int32, Int32, Int32, Int32, Int32, Int32, ZoneId)

Of(LocalDateTime, ZoneId)

[Android.Runtime.Register("of", "(Ljava/time/LocalDateTime;Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;", "", ApiSince=26)]
public static Java.Time.ZonedDateTime? Of (Java.Time.LocalDateTime? localDateTime, Java.Time.ZoneId? zone);
[<Android.Runtime.Register("of", "(Ljava/time/LocalDateTime;Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;", "", ApiSince=26)>]
static member Of : Java.Time.LocalDateTime * Java.Time.ZoneId -> Java.Time.ZonedDateTime

Parameters

localDateTime
LocalDateTime
zone
ZoneId

Returns

Attributes

Applies to

Of(LocalDate, LocalTime, ZoneId)

[Android.Runtime.Register("of", "(Ljava/time/LocalDate;Ljava/time/LocalTime;Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;", "", ApiSince=26)]
public static Java.Time.ZonedDateTime? Of (Java.Time.LocalDate? date, Java.Time.LocalTime? time, Java.Time.ZoneId? zone);
[<Android.Runtime.Register("of", "(Ljava/time/LocalDate;Ljava/time/LocalTime;Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;", "", ApiSince=26)>]
static member Of : Java.Time.LocalDate * Java.Time.LocalTime * Java.Time.ZoneId -> Java.Time.ZonedDateTime

Parameters

date
LocalDate
time
LocalTime
zone
ZoneId

Returns

Attributes

Applies to

Of(Int32, Int32, Int32, Int32, Int32, Int32, Int32, ZoneId)

[Android.Runtime.Register("of", "(IIIIIIILjava/time/ZoneId;)Ljava/time/ZonedDateTime;", "", ApiSince=26)]
public static Java.Time.ZonedDateTime? Of (int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond, Java.Time.ZoneId? zone);
[<Android.Runtime.Register("of", "(IIIIIIILjava/time/ZoneId;)Ljava/time/ZonedDateTime;", "", ApiSince=26)>]
static member Of : int * int * int * int * int * int * int * Java.Time.ZoneId -> Java.Time.ZonedDateTime

Parameters

year
Int32
month
Int32
dayOfMonth
Int32
hour
Int32
minute
Int32
second
Int32
nanoOfSecond
Int32
zone
ZoneId

Returns

Attributes

Applies to