Year.AtDay(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.
Combines this year with a day-of-year to create a LocalDate.
[Android.Runtime.Register("atDay", "(I)Ljava/time/LocalDate;", "", ApiSince=26)]
public Java.Time.LocalDate? AtDay(int dayOfYear);
[<Android.Runtime.Register("atDay", "(I)Ljava/time/LocalDate;", "", ApiSince=26)>]
member this.AtDay : int -> Java.Time.LocalDate
Parameters
- dayOfYear
- Int32
the day-of-year to use, from 1 to 365-366
Returns
the local date formed from this year and the specified date of year, not null
- Attributes
Remarks
Combines this year with a day-of-year to create a LocalDate. This returns a LocalDate formed from this year and the specified day-of-year. The day-of-year value 366 is only valid in a leap year.
Java reference for java.time.Year.atDay.