Calendar.Builder.SetLenient(Boolean) 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.
Sets the lenient mode parameter to the value given by lenient.
[Android.Runtime.Register("setLenient", "(Z)Ljava/util/Calendar$Builder;", "GetSetLenient_ZHandler", ApiSince=26)]
public virtual Java.Util.Calendar.Builder SetLenient(bool lenient);
[<Android.Runtime.Register("setLenient", "(Z)Ljava/util/Calendar$Builder;", "GetSetLenient_ZHandler", ApiSince=26)>]
abstract member SetLenient : bool -> Java.Util.Calendar.Builder
override this.SetLenient : bool -> Java.Util.Calendar.Builder
Parameters
- lenient
- Boolean
true for lenient mode; false for non-lenient mode
Returns
this Calendar.Builder
- Attributes
Remarks
Sets the lenient mode parameter to the value given by lenient. If no lenient parameter is given to this Calendar.Builder, lenient mode will be used in the build method.
Java reference for java.util.Calendar.Builder.setLenient.
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.