OffsetDateTime.WithYear(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.
[Android.Runtime.Register("withYear", "(I)Ljava/time/OffsetDateTime;", "", ApiSince=26)]
public Java.Time.OffsetDateTime? WithYear (int year);
[<Android.Runtime.Register("withYear", "(I)Ljava/time/OffsetDateTime;", "", ApiSince=26)>]
member this.WithYear : int -> Java.Time.OffsetDateTime
Parameters
- year
- Int32
Returns
- Attributes