共用方式為


LocalDateTime.Of Method

Definition

Overloads

Of(Int32, Month, Int32, Int32, Int32, Int32)
Of(Int32, Month, Int32, Int32, Int32, Int32, Int32)
Of(Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Of(Int32, Int32, Int32, Int32, Int32, Int32)
Of(Int32, Int32, Int32, Int32, Int32)
Of(LocalDate, LocalTime)
Of(Int32, Month, Int32, Int32, Int32)

Of(Int32, Month, Int32, Int32, Int32, Int32)

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

Parameters

year
Int32
month
Month
dayOfMonth
Int32
hour
Int32
minute
Int32
second
Int32

Returns

Attributes

Applies to

Of(Int32, Month, Int32, Int32, Int32, Int32, Int32)

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

Parameters

year
Int32
month
Month
dayOfMonth
Int32
hour
Int32
minute
Int32
second
Int32
nanoOfSecond
Int32

Returns

Attributes

Applies to

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

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

Parameters

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

Returns

Attributes

Applies to

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

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

Parameters

year
Int32
month
Int32
dayOfMonth
Int32
hour
Int32
minute
Int32
second
Int32

Returns

Attributes

Applies to

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

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

Parameters

year
Int32
month
Int32
dayOfMonth
Int32
hour
Int32
minute
Int32

Returns

Attributes

Applies to

Of(LocalDate, LocalTime)

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

Parameters

date
LocalDate
time
LocalTime

Returns

Attributes

Applies to

Of(Int32, Month, Int32, Int32, Int32)

[Android.Runtime.Register("of", "(ILjava/time/Month;III)Ljava/time/LocalDateTime;", "", ApiSince=26)]
public static Java.Time.LocalDateTime? Of (int year, Java.Time.Month? month, int dayOfMonth, int hour, int minute);
[<Android.Runtime.Register("of", "(ILjava/time/Month;III)Ljava/time/LocalDateTime;", "", ApiSince=26)>]
static member Of : int * Java.Time.Month * int * int * int -> Java.Time.LocalDateTime

Parameters

year
Int32
month
Month
dayOfMonth
Int32
hour
Int32
minute
Int32

Returns

Attributes

Applies to