SubscriptionPlan.Builder.CreateRecurring(ZonedDateTime, Period) 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.
Start defining a SubscriptionPlan that starts at a specific time, and automatically recurs after each specific period of time, repeating indefinitely.
[Android.Runtime.Register("createRecurring", "(Ljava/time/ZonedDateTime;Ljava/time/Period;)Landroid/telephony/SubscriptionPlan$Builder;", "", ApiSince=28)]
public static Android.Telephony.SubscriptionPlan.Builder CreateRecurring(Java.Time.ZonedDateTime start, Java.Time.Period period);
[<Android.Runtime.Register("createRecurring", "(Ljava/time/ZonedDateTime;Ljava/time/Period;)Landroid/telephony/SubscriptionPlan$Builder;", "", ApiSince=28)>]
static member CreateRecurring : Java.Time.ZonedDateTime * Java.Time.Period -> Android.Telephony.SubscriptionPlan.Builder
Parameters
- start
- ZonedDateTime
The exact time at which the plan starts.
- period
- Period
The period after which the plan automatically recurs.
Returns
- Attributes
Remarks
Start defining a SubscriptionPlan that starts at a specific time, and automatically recurs after each specific period of time, repeating indefinitely. When the given period is set to exactly one month, the plan will always recur on the day of the month defined by ZonedDateTime.getDayOfMonth(). When a particular month ends before this day, the plan will recur on the last possible instant of that month.
Android reference for android.telephony.SubscriptionPlan.Builder.createRecurring.
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.