Aracılığıyla paylaş


IChronoLocalDate.AtTime(LocalTime) Method

Definition

Combines this date with a time to create a ChronoLocalDateTime.

[Android.Runtime.Register("atTime", "(Ljava/time/LocalTime;)Ljava/time/chrono/ChronoLocalDateTime;", "GetAtTime_Ljava_time_LocalTime_Handler:Java.Time.Chrono.IChronoLocalDate, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public virtual Java.Time.Chrono.IChronoLocalDateTime? AtTime (Java.Time.LocalTime? localTime);
[<Android.Runtime.Register("atTime", "(Ljava/time/LocalTime;)Ljava/time/chrono/ChronoLocalDateTime;", "GetAtTime_Ljava_time_LocalTime_Handler:Java.Time.Chrono.IChronoLocalDate, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member AtTime : Java.Time.LocalTime -> Java.Time.Chrono.IChronoLocalDateTime
override this.AtTime : Java.Time.LocalTime -> Java.Time.Chrono.IChronoLocalDateTime

Parameters

localTime
LocalTime

the local time to use, not null

Returns

the local date-time formed from this date and the specified time, not null

Attributes

Remarks

Combines this date with a time to create a ChronoLocalDateTime.

This returns a ChronoLocalDateTime formed from this date at the specified time. All possible combinations of date and time are valid.

Java documentation for java.time.chrono.ChronoLocalDate.atTime(java.time.LocalTime).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to