TtsSpan.DateBuilder Constructors
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 |
|---|---|
| TtsSpan.DateBuilder() |
Creates a builder for a TtsSpan of type |
| TtsSpan.DateBuilder(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
| TtsSpan.DateBuilder(Integer, Integer, Integer, Integer) |
Creates a builder for a TtsSpan of type |
TtsSpan.DateBuilder()
Creates a builder for a TtsSpan of type #TYPE_DATE.
[Android.Runtime.Register(".ctor", "()V", "")]
public DateBuilder();
- Attributes
Remarks
Creates a builder for a TtsSpan of type #TYPE_DATE.
Java documentation for android.text.style.TtsSpan.DateBuilder.TtsSpan$DateBuilder().
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
TtsSpan.DateBuilder(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected DateBuilder(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Text.Style.TtsSpan.DateBuilder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Text.Style.TtsSpan.DateBuilder
Parameters
- javaReference
-
IntPtr
nativeint
A JNI reference to the Java object.
- transfer
- JniHandleOwnership
Specifies whether ownership of the JNI reference transfers to this instance.
Remarks
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
TtsSpan.DateBuilder(Integer, Integer, Integer, Integer)
Creates a builder for a TtsSpan of type #TYPE_TIME and
possibly sets the #ARG_WEEKDAY, #ARG_DAY,
#ARG_MONTH and #ARG_YEAR arguments.
[Android.Runtime.Register(".ctor", "(Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;)V", "")]
public DateBuilder(Java.Lang.Integer? weekday, Java.Lang.Integer? day, Java.Lang.Integer? month, Java.Lang.Integer? year);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;)V", "")>]
new Android.Text.Style.TtsSpan.DateBuilder : Java.Lang.Integer * Java.Lang.Integer * Java.Lang.Integer * Java.Lang.Integer -> Android.Text.Style.TtsSpan.DateBuilder
Parameters
- weekday
- Integer
The weekday, using Sunday = 1 through Saturday = 7, or null to leave the weekday argument unset.
- day
- Integer
The day of the month, or null to leave the day argument unset.
- month
- Integer
The month, using January = 0 through December = 11, or null to leave the month argument unset.
- year
- Integer
The year, or null to leave the year argument unset.
- Attributes
Remarks
Creates a builder for a TtsSpan of type #TYPE_TIME and possibly sets the #ARG_WEEKDAY, #ARG_DAY, #ARG_MONTH and #ARG_YEAR arguments. Pass null to any argument to leave it unset.
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.