Condividi tramite


TemporalAdjusters.FirstDayOfNextMonth Method

Definition

Returns the "first day of next month" adjuster, which returns a new date set to the first day of the next month.

[Android.Runtime.Register("firstDayOfNextMonth", "()Ljava/time/temporal/TemporalAdjuster;", "", ApiSince=26)]
public static Java.Time.Temporal.ITemporalAdjuster? FirstDayOfNextMonth ();
[<Android.Runtime.Register("firstDayOfNextMonth", "()Ljava/time/temporal/TemporalAdjuster;", "", ApiSince=26)>]
static member FirstDayOfNextMonth : unit -> Java.Time.Temporal.ITemporalAdjuster

Returns

the first day of next month adjuster, not null

Attributes

Remarks

Returns the "first day of next month" adjuster, which returns a new date set to the first day of the next month.

The ISO calendar system behaves as follows:<br> The input 2011-01-15 will return 2011-02-01.<br> The input 2011-02-15 will return 2011-03-01.

The behavior is suitable for use with most calendar systems. It is equivalent to:

temporal.with(DAY_OF_MONTH, 1).plus(1, MONTHS);

Java documentation for java.time.temporal.TemporalAdjusters.firstDayOfNextMonth().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to