LocalDateTime.WithSecond(Int32) 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.
Returns a copy of this LocalDateTime with the second-of-minute altered.
[Android.Runtime.Register("withSecond", "(I)Ljava/time/LocalDateTime;", "", ApiSince=26)]
public Java.Time.LocalDateTime? WithSecond(int second);
[<Android.Runtime.Register("withSecond", "(I)Ljava/time/LocalDateTime;", "", ApiSince=26)>]
member this.WithSecond : int -> Java.Time.LocalDateTime
Parameters
- second
- Int32
the second-of-minute to set in the result, from 0 to 59
Returns
a LocalDateTime based on this date-time with the requested second, not null
- Attributes
Remarks
To be added.
Java reference for java.time.LocalDateTime.withSecond.