LocalTime.OfSecondOfDay(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Obtains an instance of LocalTime from a second-of-day value.
[Android.Runtime.Register("ofSecondOfDay", "(J)Ljava/time/LocalTime;", "", ApiSince=26)]
public static Java.Time.LocalTime? OfSecondOfDay(long secondOfDay);
[<Android.Runtime.Register("ofSecondOfDay", "(J)Ljava/time/LocalTime;", "", ApiSince=26)>]
static member OfSecondOfDay : int64 -> Java.Time.LocalTime
Parameters
- secondOfDay
- Int64
the second-of-day, from 0 to 24 * 60 * 60 - 1
Returns
the local time, not null
- Attributes
Remarks
Obtains an instance of LocalTime from a second-of-day value. This returns a LocalTime with the specified second-of-day. The nanosecond field will be set to zero.
Java reference for java.time.LocalTime.ofSecondOfDay.