OffsetDateTime.Of Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
Of(LocalDateTime, ZoneOffset) | |
Of(LocalDate, LocalTime, ZoneOffset) | |
Of(Int32, Int32, Int32, Int32, Int32, Int32, Int32, ZoneOffset) |
Of(LocalDateTime, ZoneOffset)
[Android.Runtime.Register("of", "(Ljava/time/LocalDateTime;Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;", "", ApiSince=26)]
public static Java.Time.OffsetDateTime? Of (Java.Time.LocalDateTime? dateTime, Java.Time.ZoneOffset? offset);
[<Android.Runtime.Register("of", "(Ljava/time/LocalDateTime;Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;", "", ApiSince=26)>]
static member Of : Java.Time.LocalDateTime * Java.Time.ZoneOffset -> Java.Time.OffsetDateTime
Parámetros
- dateTime
- LocalDateTime
- offset
- ZoneOffset
Devoluciones
- Atributos
Se aplica a
Of(LocalDate, LocalTime, ZoneOffset)
[Android.Runtime.Register("of", "(Ljava/time/LocalDate;Ljava/time/LocalTime;Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;", "", ApiSince=26)]
public static Java.Time.OffsetDateTime? Of (Java.Time.LocalDate? date, Java.Time.LocalTime? time, Java.Time.ZoneOffset? offset);
[<Android.Runtime.Register("of", "(Ljava/time/LocalDate;Ljava/time/LocalTime;Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;", "", ApiSince=26)>]
static member Of : Java.Time.LocalDate * Java.Time.LocalTime * Java.Time.ZoneOffset -> Java.Time.OffsetDateTime
Parámetros
- date
- LocalDate
- time
- LocalTime
- offset
- ZoneOffset
Devoluciones
- Atributos
Se aplica a
Of(Int32, Int32, Int32, Int32, Int32, Int32, Int32, ZoneOffset)
[Android.Runtime.Register("of", "(IIIIIIILjava/time/ZoneOffset;)Ljava/time/OffsetDateTime;", "", ApiSince=26)]
public static Java.Time.OffsetDateTime? Of (int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond, Java.Time.ZoneOffset? offset);
[<Android.Runtime.Register("of", "(IIIIIIILjava/time/ZoneOffset;)Ljava/time/OffsetDateTime;", "", ApiSince=26)>]
static member Of : int * int * int * int * int * int * int * Java.Time.ZoneOffset -> Java.Time.OffsetDateTime
Parámetros
- year
- Int32
- month
- Int32
- dayOfMonth
- Int32
- hour
- Int32
- minute
- Int32
- second
- Int32
- nanoOfSecond
- Int32
- offset
- ZoneOffset
Devoluciones
- Atributos