Year.AtMonth 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.
Overloads
| Name | Description |
|---|---|
| AtMonth(Month) |
Combines this year with a month to create a YearMonth. |
| AtMonth(Int32) |
Combines this year with a month to create a YearMonth. |
AtMonth(Month)
Combines this year with a month to create a YearMonth.
[Android.Runtime.Register("atMonth", "(Ljava/time/Month;)Ljava/time/YearMonth;", "", ApiSince=26)]
public Java.Time.YearMonth? AtMonth(Java.Time.Month? month);
[<Android.Runtime.Register("atMonth", "(Ljava/time/Month;)Ljava/time/YearMonth;", "", ApiSince=26)>]
member this.AtMonth : Java.Time.Month -> Java.Time.YearMonth
Parameters
- month
- Month
the month-of-year to use, not null
Returns
the year-month formed from this year and the specified month, not null
- Attributes
Remarks
Combines this year with a month to create a YearMonth. This returns a YearMonth formed from this year and the specified month. All possible combinations of year and month are valid. This method can be used as part of a chain to produce a date:
Java reference for java.time.Year.atMonth.
Applies to
AtMonth(Int32)
Combines this year with a month to create a YearMonth.
[Android.Runtime.Register("atMonth", "(I)Ljava/time/YearMonth;", "", ApiSince=26)]
public Java.Time.YearMonth? AtMonth(int month);
[<Android.Runtime.Register("atMonth", "(I)Ljava/time/YearMonth;", "", ApiSince=26)>]
member this.AtMonth : int -> Java.Time.YearMonth
Parameters
- month
- Int32
the month-of-year to use, from 1 (January) to 12 (December)
Returns
the year-month formed from this year and the specified month, not null
- Attributes
Remarks
Combines this year with a month to create a YearMonth. This returns a YearMonth formed from this year and the specified month. All possible combinations of year and month are valid. This method can be used as part of a chain to produce a date:
Java reference for java.time.Year.atMonth.