-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChoiceFormat.xml
834 lines (832 loc) · 52.8 KB
/
ChoiceFormat.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
<Type Name="ChoiceFormat" FullName="Java.Text.ChoiceFormat">
<TypeSignature Language="C#" Value="public class ChoiceFormat : Java.Text.NumberFormat" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ChoiceFormat extends Java.Text.NumberFormat" />
<TypeSignature Language="DocId" Value="T:Java.Text.ChoiceFormat" />
<TypeSignature Language="F#" Value="type ChoiceFormat = class
 inherit NumberFormat" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Text.NumberFormat</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/text/ChoiceFormat", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/text/ChoiceFormat", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>A <c>ChoiceFormat</c> allows you to attach a format to a range of numbers.</summary>
<remarks>
<para>A <c>ChoiceFormat</c> allows you to attach a format to a range of numbers.
It is generally used in a <c>MessageFormat</c> for handling plurals.
The choice is specified with an ascending list of doubles, where each item
specifies a half-open interval up to the next item:
<blockquote></para>
<code lang="text/java">X matches j if and only if limit[j] &le; X &lt; limit[j+1]
</code>
<para></blockquote>
If there is no match, then either the first or last index is used, depending
on whether the number (X) is too low or too high. If the limit array is not
in ascending order, the results of formatting will be incorrect. ChoiceFormat
also accepts <c>&#92;u221E</c> as equivalent to infinity(INF).</para>
<para><strong>Note:</strong>
<c>ChoiceFormat</c> differs from the other <c>Format</c>
classes in that you create a <c>ChoiceFormat</c> object with a
constructor (not with a <c>getInstance</c> style factory
method). The factory methods aren't necessary because <c>ChoiceFormat</c>
doesn't require any complex setup for a given locale. In fact,
<c>ChoiceFormat</c> doesn't implement any locale specific behavior.</para>
<para>When creating a <c>ChoiceFormat</c>, you must specify an array of formats
and an array of limits. The length of these arrays must be the same.
For example,
<ul>
<li>
<em>limits</em> = {1,2,3,4,5,6,7}<br>
<em>formats</em> = {"Sun","Mon","Tue","Wed","Thur","Fri","Sat"}<li>
<em>limits</em> = {0, 1, ChoiceFormat.nextDouble(1)}<br>
<em>formats</em> = {"no files", "one file", "many files"}<br>
(<c>nextDouble</c> can be used to get the next higher double, to
make the half-open interval.)
</ul></para>
<para>Here is a simple example that shows formatting and parsing:
<blockquote></para>
<code lang="text/java">{@code
double[] limits = {1,2,3,4,5,6,7};
String[] dayOfWeekNames = {"Sun","Mon","Tue","Wed","Thur","Fri","Sat"};
ChoiceFormat form = new ChoiceFormat(limits, dayOfWeekNames);
ParsePosition status = new ParsePosition(0);
for (double i = 0.0; i <= 8.0; ++i) {
status.setIndex(0);
System.out.println(i + " -> " + form.format(i) + " -> "
+ form.parse(form.format(i),status));
}
}</code>
<para></blockquote>
Here is a more complex example, with a pattern format:
<blockquote></para>
<code lang="text/java">{@code
double[] filelimits = {0,1,2};
String[] filepart = {"are no files","is one file","are {2} files"};
ChoiceFormat fileform = new ChoiceFormat(filelimits, filepart);
Format[] testFormats = {fileform, null, NumberFormat.getInstance()};
MessageFormat pattform = new MessageFormat("There {0} on {1}");
pattform.setFormats(testFormats);
Object[] testArgs = {null, "ADisk", null};
for (int i = 0; i < 4; ++i) {
testArgs[0] = new Integer(i);
testArgs[2] = testArgs[0];
System.out.println(pattform.format(testArgs));
}
}</code>
<para></blockquote></para>
<para>Specifying a pattern for ChoiceFormat objects is fairly straightforward.
For example:
<blockquote></para>
<code lang="text/java">{@code
ChoiceFormat fmt = new ChoiceFormat(
"-1#is negative| 0#is zero or fraction | 1#is one |1.0<is 1+ |2#is two |2<is more than 2.");
System.out.println("Formatter Pattern : " + fmt.toPattern());
System.out.println("Format with -INF : " + fmt.format(Double.NEGATIVE_INFINITY));
System.out.println("Format with -1.0 : " + fmt.format(-1.0));
System.out.println("Format with 0 : " + fmt.format(0));
System.out.println("Format with 0.9 : " + fmt.format(0.9));
System.out.println("Format with 1.0 : " + fmt.format(1));
System.out.println("Format with 1.5 : " + fmt.format(1.5));
System.out.println("Format with 2 : " + fmt.format(2));
System.out.println("Format with 2.1 : " + fmt.format(2.1));
System.out.println("Format with NaN : " + fmt.format(Double.NaN));
System.out.println("Format with +INF : " + fmt.format(Double.POSITIVE_INFINITY));
}</code>
<para></blockquote>
And the output result would be like the following:
<blockquote></para>
<code lang="text/java">{@code
Format with -INF : is negative
Format with -1.0 : is negative
Format with 0 : is zero or fraction
Format with 0.9 : is zero or fraction
Format with 1.0 : is one
Format with 1.5 : is 1+
Format with 2 : is two
Format with 2.1 : is more than 2.
Format with NaN : is negative
Format with +INF : is more than 2.
}</code>
<para></blockquote>
<h2>"synchronization">Synchronization</h2></para>
<para>Choice formats are not synchronized.
It is recommended to create separate format instances for each thread.
If multiple threads access a format concurrently, it must be synchronized
externally.</para>
<para>Added in 1.1.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/ChoiceFormat" title="Reference documentation">Java documentation for <code>java.text.ChoiceFormat</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ChoiceFormat (string? newPattern);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string newPattern) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ChoiceFormat.#ctor(System.String)" />
<MemberSignature Language="F#" Value="new Java.Text.ChoiceFormat : string -> Java.Text.ChoiceFormat" Usage="new Java.Text.ChoiceFormat newPattern" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="newPattern" Type="System.String" />
</Parameters>
<Docs>
<param name="newPattern">the new pattern string</param>
<summary>Constructs with limits and corresponding formats based on the pattern.</summary>
<remarks>
<para>Constructs with limits and corresponding formats based on the pattern.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/ChoiceFormat#ChoiceFormat(java.lang.String)" title="Reference documentation">Java documentation for <code>java.text.ChoiceFormat.ChoiceFormat(java.lang.String)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Lang.IllegalArgumentException">if an error occurs while parsing the pattern.
</exception>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ChoiceFormat (double[]? limits, string[]? formats);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(float64[] limits, string[] formats) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ChoiceFormat.#ctor(System.Double[],System.String[])" />
<MemberSignature Language="F#" Value="new Java.Text.ChoiceFormat : double[] * string[] -> Java.Text.ChoiceFormat" Usage="new Java.Text.ChoiceFormat (limits, formats)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "([D[Ljava/lang/String;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "([D[Ljava/lang/String;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="limits" Type="System.Double[]" />
<Parameter Name="formats" Type="System.String[]" />
</Parameters>
<Docs>
<param name="limits">limits in ascending order</param>
<param name="formats">corresponding format strings</param>
<summary>Constructs with the limits and the corresponding formats.</summary>
<remarks>
<para>Constructs with the limits and the corresponding formats.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/ChoiceFormat#ChoiceFormat(double[],%20java.lang.String[])" title="Reference documentation">Java documentation for <code>java.text.ChoiceFormat.ChoiceFormat(double[], java.lang.String[])</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected ChoiceFormat (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(native int javaReference, valuetype Android.Runtime.JniHandleOwnership transfer) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ChoiceFormat.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Java.Text.ChoiceFormat : nativeint * Android.Runtime.JniHandleOwnership -> Java.Text.ChoiceFormat" Usage="new Java.Text.ChoiceFormat (javaReference, transfer)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="javaReference" Type="System.IntPtr" />
<Parameter Name="transfer" Type="Android.Runtime.JniHandleOwnership" />
</Parameters>
<Docs>
<param name="javaReference">A <see cref="T:System.IntPtr" />containing a Java Native Interface (JNI) object reference.</param>
<param name="transfer">A <see cref="T:Android.Runtime.JniHandleOwnership" />indicating how to handle <paramref name="javaReference" /></param>
<summary>A constructor used when creating managed representations of JNI objects; called by the runtime.</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ApplyPattern">
<MemberSignature Language="C#" Value="public virtual void ApplyPattern (string? newPattern);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ApplyPattern(string newPattern) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ChoiceFormat.ApplyPattern(System.String)" />
<MemberSignature Language="F#" Value="abstract member ApplyPattern : string -> unit
override this.ApplyPattern : string -> unit" Usage="choiceFormat.ApplyPattern newPattern" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("applyPattern", "(Ljava/lang/String;)V", "GetApplyPattern_Ljava_lang_String_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("applyPattern", "(Ljava/lang/String;)V", "GetApplyPattern_Ljava_lang_String_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="newPattern" Type="System.String" />
</Parameters>
<Docs>
<param name="newPattern">See the class description.</param>
<summary>Sets the pattern.</summary>
<remarks>
<para>Sets the pattern.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/ChoiceFormat#applyPattern(java.lang.String)" title="Reference documentation">Java documentation for <code>java.text.ChoiceFormat.applyPattern(java.lang.String)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Lang.IllegalArgumentException">if an error occurs while parsing the pattern.
</exception>
</Docs>
</Member>
<Member MemberName="Format">
<MemberSignature Language="C#" Value="public override Java.Lang.StringBuffer? Format (double number, Java.Lang.StringBuffer? toAppendTo, Java.Text.FieldPosition? status);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class Java.Lang.StringBuffer Format(float64 number, class Java.Lang.StringBuffer toAppendTo, class Java.Text.FieldPosition status) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ChoiceFormat.Format(System.Double,Java.Lang.StringBuffer,Java.Text.FieldPosition)" />
<MemberSignature Language="F#" Value="override this.Format : double * Java.Lang.StringBuffer * Java.Text.FieldPosition -> Java.Lang.StringBuffer" Usage="choiceFormat.Format (number, toAppendTo, status)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("format", "(DLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;", "GetFormat_DLjava_lang_StringBuffer_Ljava_text_FieldPosition_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("format", "(DLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;", "GetFormat_DLjava_lang_StringBuffer_Ljava_text_FieldPosition_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.StringBuffer</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="number" Type="System.Double" />
<Parameter Name="toAppendTo" Type="Java.Lang.StringBuffer" />
<Parameter Name="status" Type="Java.Text.FieldPosition" />
</Parameters>
<Docs>
<param name="number">number to be formatted and substituted.</param>
<param name="toAppendTo">where text is appended.</param>
<param name="status">ignore no useful status is returned.</param>
<summary>Returns pattern with formatted double.</summary>
<returns>To be added.</returns>
<remarks>
<para>Returns pattern with formatted double.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/ChoiceFormat#format(double,%20java.lang.StringBuffer,%20java.text.FieldPosition)" title="Reference documentation">Java documentation for <code>java.text.ChoiceFormat.format(double, java.lang.StringBuffer, java.text.FieldPosition)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Format">
<MemberSignature Language="C#" Value="public override Java.Lang.StringBuffer? Format (long number, Java.Lang.StringBuffer? toAppendTo, Java.Text.FieldPosition? status);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class Java.Lang.StringBuffer Format(int64 number, class Java.Lang.StringBuffer toAppendTo, class Java.Text.FieldPosition status) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ChoiceFormat.Format(System.Int64,Java.Lang.StringBuffer,Java.Text.FieldPosition)" />
<MemberSignature Language="F#" Value="override this.Format : int64 * Java.Lang.StringBuffer * Java.Text.FieldPosition -> Java.Lang.StringBuffer" Usage="choiceFormat.Format (number, toAppendTo, status)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("format", "(JLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;", "GetFormat_JLjava_lang_StringBuffer_Ljava_text_FieldPosition_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("format", "(JLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;", "GetFormat_JLjava_lang_StringBuffer_Ljava_text_FieldPosition_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.StringBuffer</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="number" Type="System.Int64" />
<Parameter Name="toAppendTo" Type="Java.Lang.StringBuffer" />
<Parameter Name="status" Type="Java.Text.FieldPosition" />
</Parameters>
<Docs>
<param name="number">number to be formatted and substituted.</param>
<param name="toAppendTo">where text is appended.</param>
<param name="status">ignore no useful status is returned.</param>
<summary>Specialization of format.</summary>
<returns>To be added.</returns>
<remarks>
<para>Specialization of format. This method really calls
<c>format(double, StringBuffer, FieldPosition)</c>
thus the range of longs that are supported is only equal to
the range that can be stored by double. This will never be
a practical limitation.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/ChoiceFormat#format(long,%20java.lang.StringBuffer,%20java.text.FieldPosition)" title="Reference documentation">Java documentation for <code>java.text.ChoiceFormat.format(long, java.lang.StringBuffer, java.text.FieldPosition)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="GetFormats">
<MemberSignature Language="C#" Value="public virtual Java.Lang.Object[]? GetFormats ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Lang.Object[] GetFormats() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ChoiceFormat.GetFormats" />
<MemberSignature Language="F#" Value="abstract member GetFormats : unit -> Java.Lang.Object[]
override this.GetFormats : unit -> Java.Lang.Object[]" Usage="choiceFormat.GetFormats " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getFormats", "()[Ljava/lang/Object;", "GetGetFormatsHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getFormats", "()[Ljava/lang/Object;", "GetGetFormatsHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.Object[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the strings associated with the ranges of this <c>ChoiceFormat</c>.</summary>
<returns>a copy of the <c>String[]</c> array supplied to the constructor or the most recent
call to <c>#setChoices(double[], String[])</c>.</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/ChoiceFormat#getFormats()" title="Reference documentation">Java documentation for <code>java.text.ChoiceFormat.getFormats()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="GetLimits">
<MemberSignature Language="C#" Value="public virtual double[]? GetLimits ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance float64[] GetLimits() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ChoiceFormat.GetLimits" />
<MemberSignature Language="F#" Value="abstract member GetLimits : unit -> double[]
override this.GetLimits : unit -> double[]" Usage="choiceFormat.GetLimits " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getLimits", "()[D", "GetGetLimitsHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getLimits", "()[D", "GetGetLimitsHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Double[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the limits of this <c>ChoiceFormat</c>.</summary>
<returns>a copy of the <c>double[]</c> array supplied to the constructor or the most recent
call to <c>#setChoices(double[], String[])</c>.</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/ChoiceFormat#getLimits()" title="Reference documentation">Java documentation for <code>java.text.ChoiceFormat.getLimits()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="JniPeerMembers">
<MemberSignature Language="C#" Value="public override Java.Interop.JniPeerMembers JniPeerMembers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Interop.JniPeerMembers JniPeerMembers" />
<MemberSignature Language="DocId" Value="P:Java.Text.ChoiceFormat.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Java.Text.ChoiceFormat.JniPeerMembers" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Interop.JniPeerMembers</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="NextDouble">
<MemberSignature Language="C#" Value="public static double NextDouble (double d);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig float64 NextDouble(float64 d) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ChoiceFormat.NextDouble(System.Double)" />
<MemberSignature Language="F#" Value="static member NextDouble : double -> double" Usage="Java.Text.ChoiceFormat.NextDouble d" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("nextDouble", "(D)D", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("nextDouble", "(D)D", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="d" Type="System.Double" />
</Parameters>
<Docs>
<param name="d">the reference value</param>
<summary>Finds the least double greater than <c>d</c>.</summary>
<returns>the least double value greather than <c>d</c></returns>
<remarks>
<para>Finds the least double greater than <c>d</c>.
If <c>NaN</c>, returns same value.</para>
<para>Used to make half-open intervals.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/ChoiceFormat#nextDouble(double)" title="Reference documentation">Java documentation for <code>java.text.ChoiceFormat.nextDouble(double)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="NextDouble">
<MemberSignature Language="C#" Value="public static double NextDouble (double d, bool positive);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig float64 NextDouble(float64 d, bool positive) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ChoiceFormat.NextDouble(System.Double,System.Boolean)" />
<MemberSignature Language="F#" Value="static member NextDouble : double * bool -> double" Usage="Java.Text.ChoiceFormat.NextDouble (d, positive)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("nextDouble", "(DZ)D", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("nextDouble", "(DZ)D", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="d" Type="System.Double" />
<Parameter Name="positive" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="d">the reference value</param>
<param name="positive">
<c>true</c> if the least double is desired;
<c>false</c> otherwise</param>
<summary>Finds the least double greater than <c>d</c> (if <c>positive</c> is
<c>true</c>), or the greatest double less than <c>d</c> (if
<c>positive</c> is <c>false</c>).</summary>
<returns>the least or greater double value</returns>
<remarks>
<para>Finds the least double greater than <c>d</c> (if <c>positive</c> is
<c>true</c>), or the greatest double less than <c>d</c> (if
<c>positive</c> is <c>false</c>).
If <c>NaN</c>, returns same value.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/ChoiceFormat#nextDouble(double,%20boolean)" title="Reference documentation">Java documentation for <code>java.text.ChoiceFormat.nextDouble(double, boolean)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Parse">
<MemberSignature Language="C#" Value="public override Java.Lang.Number? Parse (string? text, Java.Text.ParsePosition? status);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class Java.Lang.Number Parse(string text, class Java.Text.ParsePosition status) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ChoiceFormat.Parse(System.String,Java.Text.ParsePosition)" />
<MemberSignature Language="F#" Value="override this.Parse : string * Java.Text.ParsePosition -> Java.Lang.Number" Usage="choiceFormat.Parse (text, status)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("parse", "(Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/lang/Number;", "GetParse_Ljava_lang_String_Ljava_text_ParsePosition_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("parse", "(Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/lang/Number;", "GetParse_Ljava_lang_String_Ljava_text_ParsePosition_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.Number</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="text" Type="System.String" />
<Parameter Name="status" Type="Java.Text.ParsePosition" />
</Parameters>
<Docs>
<param name="text">the source text.</param>
<param name="status">an input-output parameter. On input, the
status.index field indicates the first character of the
source text that should be parsed. On exit, if no error
occurred, status.index is set to the first unparsed character
in the source text. On exit, if an error did occur,
status.index is unchanged and status.errorIndex is set to the
first index of the character that caused the parse to fail.</param>
<summary>Parses a Number from the input text.</summary>
<returns>A Number representing the value of the number parsed.</returns>
<remarks>
<para>Parses a Number from the input text.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/ChoiceFormat#parse(java.lang.String,%20java.text.ParsePosition)" title="Reference documentation">Java documentation for <code>java.text.ChoiceFormat.parse(java.lang.String, java.text.ParsePosition)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="PreviousDouble">
<MemberSignature Language="C#" Value="public static double PreviousDouble (double d);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig float64 PreviousDouble(float64 d) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ChoiceFormat.PreviousDouble(System.Double)" />
<MemberSignature Language="F#" Value="static member PreviousDouble : double -> double" Usage="Java.Text.ChoiceFormat.PreviousDouble d" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("previousDouble", "(D)D", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("previousDouble", "(D)D", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="d" Type="System.Double" />
</Parameters>
<Docs>
<param name="d">the reference value</param>
<summary>Finds the greatest double less than <c>d</c>.</summary>
<returns>the greatest double value less than <c>d</c></returns>
<remarks>
<para>Finds the greatest double less than <c>d</c>.
If <c>NaN</c>, returns same value.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/ChoiceFormat#previousDouble(double)" title="Reference documentation">Java documentation for <code>java.text.ChoiceFormat.previousDouble(double)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="SetChoices">
<MemberSignature Language="C#" Value="public virtual void SetChoices (double[]? limits, string[]? formats);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetChoices(float64[] limits, string[] formats) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ChoiceFormat.SetChoices(System.Double[],System.String[])" />
<MemberSignature Language="F#" Value="abstract member SetChoices : double[] * string[] -> unit
override this.SetChoices : double[] * string[] -> unit" Usage="choiceFormat.SetChoices (limits, formats)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setChoices", "([D[Ljava/lang/String;)V", "GetSetChoices_arrayDarrayLjava_lang_String_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setChoices", "([D[Ljava/lang/String;)V", "GetSetChoices_arrayDarrayLjava_lang_String_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="limits" Type="System.Double[]" />
<Parameter Name="formats" Type="System.String[]" />
</Parameters>
<Docs>
<param name="limits">contains the top value that you want
parsed with that format, and should be in ascending sorted order. When
formatting X, the choice will be the i, where
limit[i] &le; X < limit[i+1].
If the limit array is not in ascending order, the results of formatting
will be incorrect.</param>
<param name="formats">are the formats you want to use for each limit.
They can be either Format objects or Strings.
When formatting with object Y,
if the object is a NumberFormat, then ((NumberFormat) Y).format(X)
is called. Otherwise Y.toString() is called.</param>
<summary>Set the choices to be used in formatting.</summary>
<remarks>
<para>Set the choices to be used in formatting.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/ChoiceFormat#setChoices(double[],%20java.lang.String[])" title="Reference documentation">Java documentation for <code>java.text.ChoiceFormat.setChoices(double[], java.lang.String[])</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="ThresholdClass">
<MemberSignature Language="C#" Value="protected override IntPtr ThresholdClass { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ThresholdClass" />
<MemberSignature Language="DocId" Value="P:Java.Text.ChoiceFormat.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Java.Text.ChoiceFormat.ThresholdClass" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.IntPtr" /> which contains the <c>java.lang.Class</c> JNI value corresponding to this type.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ThresholdType">
<MemberSignature Language="C#" Value="protected override Type ThresholdType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type ThresholdType" />
<MemberSignature Language="DocId" Value="P:Java.Text.ChoiceFormat.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Java.Text.ChoiceFormat.ThresholdType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.Type" /> which provides the declaring type.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ToPattern">
<MemberSignature Language="C#" Value="public virtual string? ToPattern ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string ToPattern() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.ChoiceFormat.ToPattern" />
<MemberSignature Language="F#" Value="abstract member ToPattern : unit -> string
override this.ToPattern : unit -> string" Usage="choiceFormat.ToPattern " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("toPattern", "()Ljava/lang/String;", "GetToPatternHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("toPattern", "()Ljava/lang/String;", "GetToPatternHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets the pattern.</summary>
<returns>the pattern string</returns>
<remarks>
<para>Gets the pattern.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/ChoiceFormat#toPattern()" title="Reference documentation">Java documentation for <code>java.text.ChoiceFormat.toPattern()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
</Members>
</Type>