1 # 2 # Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 # 5 # This code is free software; you can redistribute it and/or modify it 6 # under the terms of the GNU General Public License version 2 only, as 7 # published by the Free Software Foundation. 8 # 9 # This code is distributed in the hope that it will be useful, but WITHOUT 10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 # version 2 for more details (a copy is included in the LICENSE file that 13 # accompanied this code). 14 # 15 # You should have received a copy of the GNU General Public License version 16 # 2 along with this work; if not, write to the Free Software Foundation, 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 # 19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 # 23 24 # Test data for FormatIteratorTest 25 26 { 27 tests = 28 ( 29 { 30 class = java.text.DecimalFormat 31 args = ("#,###") 32 valueClass = java.lang.Integer 33 valueArgs = ("1234567") 34 } 35 { 36 length = 9 37 text = "1,234,567" 38 0 = (NumberFormat$Field.INTEGER) 39 1 = (NumberFormat$Field.INTEGER 40 NumberFormat$Field.GROUPING_SEPARATOR) 41 2 = (NumberFormat$Field.INTEGER) 42 3 = (NumberFormat$Field.INTEGER) 43 4 = (NumberFormat$Field.INTEGER) 44 5 = (NumberFormat$Field.INTEGER 45 NumberFormat$Field.GROUPING_SEPARATOR) 46 6 = (NumberFormat$Field.INTEGER) 47 7 = (NumberFormat$Field.INTEGER) 48 8 = (NumberFormat$Field.INTEGER) 49 limits = ( { attributes = (NumberFormat$Field.INTEGER) 50 begin = 0 end = 1 end2 = 9} 51 { attributes = (NumberFormat$Field.INTEGER 52 NumberFormat$Field.GROUPING_SEPARATOR) 53 begin = 1 end = 2} 54 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 55 begin = 1 end = 2} 56 { attributes = (NumberFormat$Field.INTEGER 57 NumberFormat$Field.GROUPING_SEPARATOR) 58 begin = 5 end = 6} 59 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 60 begin = 5 end = 6} 61 ) 62 fieldPositions = 63 ( 64 { 65 field = NumberFormat.INTEGER_FIELD 66 fieldID = NumberFormat$Field.INTEGER 67 begin = 0 end = 9 68 } 69 { 70 fieldID = NumberFormat$Field.GROUPING_SEPARATOR 71 begin = 1 end = 2 72 } 73 ) 74 } 75 76 { 77 class = java.text.DecimalFormat 78 args = ("#,###.##") 79 valueClass = java.lang.Float 80 valueArgs = ("567.78") 81 } 82 { 83 length = 6 84 text = "567.78" 85 0 = (NumberFormat$Field.INTEGER) 86 1 = (NumberFormat$Field.INTEGER) 87 2 = (NumberFormat$Field.INTEGER) 88 3 = (NumberFormat$Field.DECIMAL_SEPARATOR) 89 4 = (NumberFormat$Field.FRACTION) 90 5 = (NumberFormat$Field.FRACTION) 91 limits = ( { attributes = (NumberFormat$Field.INTEGER) 92 begin = 0 end = 3 } 93 { attributes = (NumberFormat$Field.DECIMAL_SEPARATOR) 94 begin = 3 end = 4} 95 { attributes = (NumberFormat$Field.FRACTION) 96 begin = 4 end = 6} 97 ) 98 fieldPositions = 99 ( 100 { 101 field = NumberFormat.INTEGER_FIELD 102 fieldID = NumberFormat$Field.INTEGER 103 begin = 0 end = 3 104 } 105 { 106 fieldID = NumberFormat$Field.DECIMAL_SEPARATOR 107 begin = 3 end = 4 108 } 109 { 110 field = NumberFormat.FRACTION_FIELD 111 fieldID = NumberFormat$Field.FRACTION 112 begin = 4 end = 6 113 } 114 ) 115 } 116 117 { 118 class = java.text.DecimalFormat 119 args = ("0.#E00") 120 valueClass = java.lang.Float 121 valueArgs = ("1200") 122 } 123 { 124 length = 6 125 text = "1.2E03" 126 0 = (NumberFormat$Field.INTEGER) 127 1 = (NumberFormat$Field.DECIMAL_SEPARATOR) 128 2 = (NumberFormat$Field.FRACTION) 129 3 = (NumberFormat$Field.EXPONENT_SYMBOL) 130 4 = (NumberFormat$Field.EXPONENT) 131 5 = (NumberFormat$Field.EXPONENT) 132 limits = ( { attributes = (NumberFormat$Field.INTEGER) 133 begin = 0 end = 1 } 134 { attributes = (NumberFormat$Field.DECIMAL_SEPARATOR) 135 begin = 1 end = 2} 136 { attributes = (NumberFormat$Field.FRACTION) 137 begin = 2 end = 3} 138 { attributes = (NumberFormat$Field.EXPONENT_SYMBOL) 139 begin = 3 end = 4} 140 { attributes = (NumberFormat$Field.EXPONENT) 141 begin = 4 end = 6} 142 ) 143 fieldPositions = 144 ( 145 { 146 field = NumberFormat.INTEGER_FIELD 147 fieldID = NumberFormat$Field.INTEGER 148 begin = 0 end = 1 149 } 150 { 151 fieldID = NumberFormat$Field.DECIMAL_SEPARATOR 152 begin = 1 end = 2 153 } 154 { 155 field = NumberFormat.FRACTION_FIELD 156 fieldID = NumberFormat$Field.FRACTION 157 begin = 2 end = 3 158 } 159 { 160 fieldID = NumberFormat$Field.EXPONENT_SYMBOL 161 begin = 3 end = 4 162 } 163 { 164 fieldID = NumberFormat$Field.EXPONENT 165 begin = 4 end = 6 166 } 167 ) 168 } 169 170 { 171 class = java.text.DecimalFormat 172 args = ("0.#E00") 173 valueClass = java.lang.Float 174 valueArgs = ("-.0012") 175 } 176 { 177 length = 8 178 text = "-1.2E-03" 179 0 = (NumberFormat$Field.SIGN) 180 1 = (NumberFormat$Field.INTEGER) 181 2 = (NumberFormat$Field.DECIMAL_SEPARATOR) 182 3 = (NumberFormat$Field.FRACTION) 183 4 = (NumberFormat$Field.EXPONENT_SYMBOL) 184 5 = (NumberFormat$Field.EXPONENT_SIGN) 185 6 = (NumberFormat$Field.EXPONENT) 186 7 = (NumberFormat$Field.EXPONENT) 187 limits = ( { attributes = (NumberFormat$Field.SIGN) 188 begin = 0 end = 1 } 189 { attributes = (NumberFormat$Field.INTEGER) 190 begin = 1 end = 2} 191 { attributes = (NumberFormat$Field.DECIMAL_SEPARATOR) 192 begin = 2 end = 3} 193 { attributes = (NumberFormat$Field.FRACTION) 194 begin = 3 end = 4} 195 { attributes = (NumberFormat$Field.EXPONENT_SYMBOL) 196 begin = 4 end = 5} 197 { attributes = (NumberFormat$Field.EXPONENT_SIGN) 198 begin = 5 end = 6} 199 { attributes = (NumberFormat$Field.EXPONENT) 200 begin = 6 end = 8} 201 ) 202 fieldPositions = 203 ( 204 { 205 fieldID = NumberFormat$Field.SIGN 206 begin = 0 end = 1 207 } 208 { 209 field = NumberFormat.INTEGER_FIELD 210 fieldID = NumberFormat$Field.INTEGER 211 begin = 1 end = 2 212 } 213 { 214 fieldID = NumberFormat$Field.DECIMAL_SEPARATOR 215 begin = 2 end = 3 216 } 217 { 218 field = NumberFormat.FRACTION_FIELD 219 fieldID = NumberFormat$Field.FRACTION 220 begin = 3 end = 4 221 } 222 { 223 fieldID = NumberFormat$Field.EXPONENT_SYMBOL 224 begin = 4 end = 5 225 } 226 { 227 fieldID = NumberFormat$Field.EXPONENT_SIGN 228 begin = 5 end = 6 229 } 230 { 231 fieldID = NumberFormat$Field.EXPONENT 232 begin = 6 end = 8 233 } 234 ) 235 } 236 237 { 238 class = java.text.DecimalFormat 239 args = ("#,###;(#,###)") 240 valueClass = java.lang.Integer 241 valueArgs = ("-1234") 242 } 243 { 244 length = 7 245 text = "(1,234)" 246 0 = () 247 1 = (NumberFormat$Field.INTEGER) 248 2 = (NumberFormat$Field.INTEGER 249 NumberFormat$Field.GROUPING_SEPARATOR) 250 3 = (NumberFormat$Field.INTEGER) 251 4 = (NumberFormat$Field.INTEGER) 252 5 = (NumberFormat$Field.INTEGER) 253 6 = () 254 limits = ( { attributes = () 255 begin = 0 end = 1 end2 = 7 } 256 { attributes = (NumberFormat$Field.INTEGER) 257 begin = 1 end = 2 end2 = 6} 258 { attributes = (NumberFormat$Field.INTEGER 259 NumberFormat$Field.GROUPING_SEPARATOR) 260 begin = 2 end = 3} 261 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 262 begin = 2 end = 3} 263 { attributes = () 264 begin = 6 begin2 = 0 end = 7} 265 ) 266 fieldPositions = 267 ( 268 { 269 field = NumberFormat.INTEGER_FIELD 270 fieldID = NumberFormat$Field.INTEGER 271 begin = 1 end = 6 272 } 273 { 274 fieldID = NumberFormat$Field.GROUPING_SEPARATOR 275 begin = 2 end = 3 276 } 277 ) 278 } 279 280 { 281 class = java.text.DecimalFormat 282 args = ("#,###;-#,###") 283 valueClass = java.lang.Integer 284 valueArgs = ("-134") 285 } 286 { 287 length = 4 288 text = "-134" 289 0 = (NumberFormat$Field.SIGN) 290 1 = (NumberFormat$Field.INTEGER) 291 2 = (NumberFormat$Field.INTEGER) 292 3 = (NumberFormat$Field.INTEGER) 293 limits = ( { attributes = (NumberFormat$Field.SIGN) 294 begin = 0 end = 1 } 295 { attributes = (NumberFormat$Field.INTEGER) 296 begin = 1 end = 4 } 297 ) 298 fieldPositions = 299 ( 300 { 301 fieldID = NumberFormat$Field.SIGN 302 begin = 0 end = 1 303 } 304 { 305 fieldID = NumberFormat$Field.INTEGER 306 begin = 1 end = 4 307 } 308 ) 309 } 310 311 { 312 class = java.text.DecimalFormat 313 args = ("+#,###") 314 valueClass = java.lang.Integer 315 valueArgs = ("134") 316 } 317 { 318 length = 4 319 text = "+134" 320 0 = () 321 1 = (NumberFormat$Field.INTEGER) 322 2 = (NumberFormat$Field.INTEGER) 323 3 = (NumberFormat$Field.INTEGER) 324 limits = ( { attributes = (NumberFormat$Field.SIGN) 325 begin = 0 end2 = 4 end = 1 } 326 { attributes = (NumberFormat$Field.INTEGER) 327 begin = 1 end = 4 } 328 ) 329 fieldPositions = 330 ( 331 { 332 field = NumberFormat.INTEGER_FIELD 333 fieldID = NumberFormat$Field.INTEGER 334 begin = 1 end = 4 335 } 336 ) 337 } 338 339 { 340 class = java.text.DecimalFormat 341 args = ("##.0#%") 342 valueClass = java.lang.Float 343 valueArgs = (".1234") 344 } 345 { 346 length = 6 347 text = "12.34%" 348 0 = (NumberFormat$Field.INTEGER) 349 1 = (NumberFormat$Field.INTEGER) 350 2 = (NumberFormat$Field.DECIMAL_SEPARATOR) 351 3 = (NumberFormat$Field.FRACTION) 352 4 = (NumberFormat$Field.FRACTION) 353 5 = (NumberFormat$Field.PERCENT) 354 limits = ( { attributes = (NumberFormat$Field.INTEGER) 355 begin = 0 end = 2 } 356 { attributes = (NumberFormat$Field.DECIMAL_SEPARATOR) 357 begin = 2 end = 3 } 358 { attributes = (NumberFormat$Field.FRACTION) 359 begin = 3 end = 5 } 360 { attributes = (NumberFormat$Field.PERCENT) 361 begin = 5 end = 6 } 362 ) 363 fieldPositions = 364 ( 365 { 366 field = NumberFormat.INTEGER_FIELD 367 fieldID = NumberFormat$Field.INTEGER 368 begin = 0 end = 2 369 } 370 { 371 fieldID = NumberFormat$Field.DECIMAL_SEPARATOR 372 begin = 2 end = 3 373 } 374 { 375 field = NumberFormat.FRACTION_FIELD 376 fieldID = NumberFormat$Field.FRACTION 377 begin = 3 end = 5 378 } 379 { 380 fieldID = NumberFormat$Field.PERCENT 381 begin = 5 end = 6 382 } 383 ) 384 } 385 386 { 387 class = java.text.DecimalFormat 388 args = ("#,##.#\u2030") 389 valueClass = java.lang.Float 390 valueArgs = (".1234") 391 } 392 { 393 length = 7 394 text = "1,23.4\u2030" 395 0 = (NumberFormat$Field.INTEGER) 396 1 = (NumberFormat$Field.GROUPING_SEPARATOR 397 NumberFormat$Field.INTEGER) 398 2 = (NumberFormat$Field.INTEGER) 399 3 = (NumberFormat$Field.INTEGER) 400 4 = (NumberFormat$Field.DECIMAL_SEPARATOR) 401 5 = (NumberFormat$Field.FRACTION) 402 6 = (NumberFormat$Field.PERMILLE) 403 limits = ( { attributes = (NumberFormat$Field.INTEGER) 404 begin = 0 end = 1 end2 = 4 } 405 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 406 begin = 1 end = 2 } 407 { attributes = (NumberFormat$Field.INTEGER 408 NumberFormat$Field.GROUPING_SEPARATOR) 409 begin = 1 end = 2 } 410 { attributes = (NumberFormat$Field.DECIMAL_SEPARATOR) 411 begin = 4 end = 5 } 412 { attributes = (NumberFormat$Field.FRACTION) 413 begin = 5 end = 6 } 414 { attributes = (NumberFormat$Field.PERMILLE) 415 begin = 6 end = 7 } 416 ) 417 fieldPositions = 418 ( 419 { 420 field = NumberFormat.INTEGER_FIELD 421 fieldID = NumberFormat$Field.INTEGER 422 begin = 0 end = 4 423 } 424 { 425 fieldID = NumberFormat$Field.GROUPING_SEPARATOR 426 begin = 1 end = 2 427 } 428 { 429 fieldID = NumberFormat$Field.DECIMAL_SEPARATOR 430 begin = 4 end = 5 431 } 432 { 433 field = NumberFormat.FRACTION_FIELD 434 fieldID = NumberFormat$Field.FRACTION 435 begin = 5 end = 6 436 } 437 { 438 fieldID = NumberFormat$Field.PERMILLE 439 begin = 6 end = 7 440 } 441 ) 442 } 443 444 { 445 class = java.text.DecimalFormat 446 args = ("\u00A40,000.00") 447 valueClass = java.lang.Float 448 valueArgs = ("12.51") 449 } 450 { 451 length = 9 452 text = "$0,012.51" 453 0 = (NumberFormat$Field.CURRENCY) 454 1 = (NumberFormat$Field.INTEGER) 455 2 = (NumberFormat$Field.GROUPING_SEPARATOR 456 NumberFormat$Field.INTEGER) 457 3 = (NumberFormat$Field.INTEGER) 458 4 = (NumberFormat$Field.INTEGER) 459 5 = (NumberFormat$Field.INTEGER) 460 6 = (NumberFormat$Field.DECIMAL_SEPARATOR) 461 7 = (NumberFormat$Field.FRACTION) 462 8 = (NumberFormat$Field.FRACTION) 463 limits = ( { attributes = (NumberFormat$Field.CURRENCY) 464 begin = 0 end = 1 } 465 { attributes = (NumberFormat$Field.INTEGER) 466 begin = 1 end = 2 end2 = 6 } 467 { attributes = (NumberFormat$Field.INTEGER 468 NumberFormat$Field.GROUPING_SEPARATOR) 469 begin = 2 end = 3 } 470 { attributes = (NumberFormat$Field.INTEGER) 471 begin = 3 begin2 = 1 end = 6 } 472 { attributes = (NumberFormat$Field.DECIMAL_SEPARATOR) 473 begin = 6 end = 7 } 474 { attributes = (NumberFormat$Field.FRACTION) 475 begin = 7 end = 9 } 476 ) 477 fieldPositions = 478 ( 479 { 480 fieldID = NumberFormat$Field.CURRENCY 481 begin = 0 end = 1 482 } 483 { 484 field = NumberFormat.INTEGER_FIELD 485 fieldID = NumberFormat$Field.INTEGER 486 begin = 1 end = 6 487 } 488 { 489 fieldID = NumberFormat$Field.GROUPING_SEPARATOR 490 begin = 2 end = 3 491 } 492 { 493 fieldID = NumberFormat$Field.DECIMAL_SEPARATOR 494 begin = 6 end = 7 495 } 496 { 497 field = NumberFormat.FRACTION_FIELD 498 fieldID = NumberFormat$Field.FRACTION 499 begin = 7 end = 9 500 } 501 ) 502 } 503 504 { 505 class = java.text.DecimalFormat 506 args = ("#,###") 507 valueClass = java.math.BigInteger 508 valueArgs = ("-12345678901234567890123456789012345") 509 } 510 { 511 length = 47 512 text = "-12,345,678,901,234,567,890,123,456,789,012,345" 513 0 = (NumberFormat$Field.SIGN) 514 1 = (NumberFormat$Field.INTEGER) 515 2 = (NumberFormat$Field.INTEGER) 516 3 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 517 4 = (NumberFormat$Field.INTEGER) 518 5 = (NumberFormat$Field.INTEGER) 519 6 = (NumberFormat$Field.INTEGER) 520 7 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 521 8 = (NumberFormat$Field.INTEGER) 522 9 = (NumberFormat$Field.INTEGER) 523 10 = (NumberFormat$Field.INTEGER) 524 11 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 525 12 = (NumberFormat$Field.INTEGER) 526 13 = (NumberFormat$Field.INTEGER) 527 14 = (NumberFormat$Field.INTEGER) 528 15 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 529 16 = (NumberFormat$Field.INTEGER) 530 17 = (NumberFormat$Field.INTEGER) 531 18 = (NumberFormat$Field.INTEGER) 532 19 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 533 20 = (NumberFormat$Field.INTEGER) 534 21 = (NumberFormat$Field.INTEGER) 535 22 = (NumberFormat$Field.INTEGER) 536 23 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 537 24 = (NumberFormat$Field.INTEGER) 538 25 = (NumberFormat$Field.INTEGER) 539 26 = (NumberFormat$Field.INTEGER) 540 27 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 541 28 = (NumberFormat$Field.INTEGER) 542 29 = (NumberFormat$Field.INTEGER) 543 30 = (NumberFormat$Field.INTEGER) 544 31 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 545 32 = (NumberFormat$Field.INTEGER) 546 33 = (NumberFormat$Field.INTEGER) 547 34 = (NumberFormat$Field.INTEGER) 548 35 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 549 36 = (NumberFormat$Field.INTEGER) 550 37 = (NumberFormat$Field.INTEGER) 551 38 = (NumberFormat$Field.INTEGER) 552 39 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 553 40 = (NumberFormat$Field.INTEGER) 554 41 = (NumberFormat$Field.INTEGER) 555 42 = (NumberFormat$Field.INTEGER) 556 43 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 557 44 = (NumberFormat$Field.INTEGER) 558 45 = (NumberFormat$Field.INTEGER) 559 46 = (NumberFormat$Field.INTEGER) 560 limits = ( 561 { attributes = (NumberFormat$Field.SIGN) 562 begin = 0 end = 1 } 563 { attributes = (NumberFormat$Field.INTEGER) 564 begin = 1 end = 3 end2 = 47 } 565 { attributes = (NumberFormat$Field.INTEGER 566 NumberFormat$Field.GROUPING_SEPARATOR) 567 begin = 3 end = 4 } 568 { attributes = (NumberFormat$Field.INTEGER) 569 begin = 4 begin2 = 1 end = 7 end2 = 47} 570 { attributes = (NumberFormat$Field.INTEGER 571 NumberFormat$Field.GROUPING_SEPARATOR) 572 begin = 7 end = 8 } 573 { attributes = (NumberFormat$Field.INTEGER) 574 begin = 8 begin2 = 1 end = 11 end2 = 47} 575 { attributes = (NumberFormat$Field.INTEGER 576 NumberFormat$Field.GROUPING_SEPARATOR) 577 begin = 11 end = 12 } 578 { attributes = (NumberFormat$Field.INTEGER) 579 begin = 12 begin2 = 1 end = 15 end2 = 47} 580 { attributes = (NumberFormat$Field.INTEGER 581 NumberFormat$Field.GROUPING_SEPARATOR) 582 begin = 15 end = 16 } 583 { attributes = (NumberFormat$Field.INTEGER) 584 begin = 16 begin2 = 1 end = 19 end2 = 47} 585 { attributes = (NumberFormat$Field.INTEGER 586 NumberFormat$Field.GROUPING_SEPARATOR) 587 begin = 19 end = 20 } 588 { attributes = (NumberFormat$Field.INTEGER) 589 begin = 20 begin2 = 1 end = 23 end2 = 47} 590 { attributes = (NumberFormat$Field.INTEGER 591 NumberFormat$Field.GROUPING_SEPARATOR) 592 begin = 23 end = 24 } 593 { attributes = (NumberFormat$Field.INTEGER) 594 begin = 24 begin2 = 1 end = 27 end2 = 47} 595 { attributes = (NumberFormat$Field.INTEGER 596 NumberFormat$Field.GROUPING_SEPARATOR) 597 begin = 27 end = 28 } 598 { attributes = (NumberFormat$Field.INTEGER) 599 begin = 28 begin2 = 1 end = 31 end2 = 47} 600 { attributes = (NumberFormat$Field.INTEGER 601 NumberFormat$Field.GROUPING_SEPARATOR) 602 begin = 31 end = 32 } 603 { attributes = (NumberFormat$Field.INTEGER) 604 begin = 32 begin2 = 1 end = 35 end2 = 47} 605 { attributes = (NumberFormat$Field.INTEGER 606 NumberFormat$Field.GROUPING_SEPARATOR) 607 begin = 35 end = 36 } 608 { attributes = (NumberFormat$Field.INTEGER 609 MessageFormat$Field.ARGUMENT) 610 begin = 36 begin2 = 1 end = 39 end2 = 47} 611 { attributes = (NumberFormat$Field.INTEGER 612 NumberFormat$Field.GROUPING_SEPARATOR) 613 begin = 39 end = 40 } 614 { attributes = (NumberFormat$Field.INTEGER) 615 begin = 40 begin2 = 1 end = 43 end2 = 47} 616 { attributes = (NumberFormat$Field.INTEGER 617 NumberFormat$Field.GROUPING_SEPARATOR) 618 begin = 43 begin2 = 43 end = 44 } 619 { attributes = (NumberFormat$Field.INTEGER) 620 begin = 44 begin2 = 1 end = 47} 621 ) 622 fieldPositions = 623 ( 624 { 625 fieldID = NumberFormat$Field.SIGN 626 begin = 0 end = 1 627 } 628 { 629 field = NumberFormat.INTEGER_FIELD 630 fieldID = NumberFormat$Field.INTEGER 631 begin = 1 end = 47 632 } 633 ) 634 } 635 636 { 637 class = java.text.DecimalFormat 638 args = ("#,###.#####################") 639 valueClass = java.math.BigDecimal 640 valueArgs = ("-123456789012345678901234567890.12345678901234567890") 641 } 642 { 643 length = 60 644 text = "-123,456,789,012,345,678,901,234,567,890.1234567890123456789" 645 0 = (NumberFormat$Field.SIGN) 646 1 = (NumberFormat$Field.INTEGER) 647 2 = (NumberFormat$Field.INTEGER) 648 3 = (NumberFormat$Field.INTEGER) 649 4 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 650 5 = (NumberFormat$Field.INTEGER) 651 6 = (NumberFormat$Field.INTEGER) 652 7 = (NumberFormat$Field.INTEGER) 653 8 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 654 9 = (NumberFormat$Field.INTEGER) 655 10 = (NumberFormat$Field.INTEGER) 656 11 = (NumberFormat$Field.INTEGER) 657 12 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 658 13 = (NumberFormat$Field.INTEGER) 659 14 = (NumberFormat$Field.INTEGER) 660 15 = (NumberFormat$Field.INTEGER) 661 16 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 662 17 = (NumberFormat$Field.INTEGER) 663 18 = (NumberFormat$Field.INTEGER) 664 19 = (NumberFormat$Field.INTEGER) 665 20 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 666 21 = (NumberFormat$Field.INTEGER) 667 22 = (NumberFormat$Field.INTEGER) 668 23 = (NumberFormat$Field.INTEGER) 669 24 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 670 25 = (NumberFormat$Field.INTEGER) 671 26 = (NumberFormat$Field.INTEGER) 672 27 = (NumberFormat$Field.INTEGER) 673 28 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 674 29 = (NumberFormat$Field.INTEGER) 675 30 = (NumberFormat$Field.INTEGER) 676 31 = (NumberFormat$Field.INTEGER) 677 32 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 678 33 = (NumberFormat$Field.INTEGER) 679 34 = (NumberFormat$Field.INTEGER) 680 35 = (NumberFormat$Field.INTEGER) 681 36 = (NumberFormat$Field.INTEGER NumberFormat$Field.GROUPING_SEPARATOR) 682 37 = (NumberFormat$Field.INTEGER) 683 38 = (NumberFormat$Field.INTEGER) 684 39 = (NumberFormat$Field.INTEGER) 685 40 = (NumberFormat$Field.DECIMAL_SEPARATOR) 686 41 = (NumberFormat$Field.FRACTION) 687 42 = (NumberFormat$Field.FRACTION) 688 43 = (NumberFormat$Field.FRACTION) 689 44 = (NumberFormat$Field.FRACTION) 690 45 = (NumberFormat$Field.FRACTION) 691 45 = (NumberFormat$Field.FRACTION) 692 45 = (NumberFormat$Field.FRACTION) 693 45 = (NumberFormat$Field.FRACTION) 694 45 = (NumberFormat$Field.FRACTION) 695 45 = (NumberFormat$Field.FRACTION) 696 45 = (NumberFormat$Field.FRACTION) 697 45 = (NumberFormat$Field.FRACTION) 698 46 = (NumberFormat$Field.FRACTION) 699 47 = (NumberFormat$Field.FRACTION) 700 48 = (NumberFormat$Field.FRACTION) 701 49 = (NumberFormat$Field.FRACTION) 702 50 = (NumberFormat$Field.FRACTION) 703 51 = (NumberFormat$Field.FRACTION) 704 52 = (NumberFormat$Field.FRACTION) 705 53 = (NumberFormat$Field.FRACTION) 706 54 = (NumberFormat$Field.FRACTION) 707 55 = (NumberFormat$Field.FRACTION) 708 56 = (NumberFormat$Field.FRACTION) 709 57 = (NumberFormat$Field.FRACTION) 710 58 = (NumberFormat$Field.FRACTION) 711 59 = (NumberFormat$Field.FRACTION) 712 limits = ( 713 { attributes = (NumberFormat$Field.SIGN) 714 begin = 0 end = 1 } 715 { attributes = (NumberFormat$Field.INTEGER) 716 begin = 1 end = 4 end2 = 40 } 717 { attributes = (NumberFormat$Field.INTEGER 718 NumberFormat$Field.GROUPING_SEPARATOR) 719 begin = 4 end = 5 } 720 { attributes = (NumberFormat$Field.INTEGER) 721 begin = 5 begin2 = 1 end = 8 end2 = 40} 722 { attributes = (NumberFormat$Field.INTEGER 723 NumberFormat$Field.GROUPING_SEPARATOR) 724 begin = 8 end = 9 } 725 { attributes = (NumberFormat$Field.INTEGER) 726 begin = 9 begin2 = 1 end = 12 end2 = 40} 727 { attributes = (NumberFormat$Field.INTEGER 728 NumberFormat$Field.GROUPING_SEPARATOR) 729 begin = 12 end = 13 } 730 { attributes = (NumberFormat$Field.INTEGER) 731 begin = 13 begin2 = 1 end = 16 end2 = 40} 732 { attributes = (NumberFormat$Field.INTEGER 733 NumberFormat$Field.GROUPING_SEPARATOR) 734 begin = 16 end = 17 } 735 { attributes = (NumberFormat$Field.INTEGER) 736 begin = 17 begin2 = 1 end = 20 end2 = 40} 737 { attributes = (NumberFormat$Field.INTEGER 738 NumberFormat$Field.GROUPING_SEPARATOR) 739 begin = 20 end = 21 } 740 { attributes = (NumberFormat$Field.INTEGER) 741 begin = 21 begin2 = 1 end = 24 end2 = 40} 742 { attributes = (NumberFormat$Field.INTEGER 743 NumberFormat$Field.GROUPING_SEPARATOR) 744 begin = 24 end = 25 } 745 { attributes = (NumberFormat$Field.INTEGER) 746 begin = 25 begin2 = 1 end = 28 end2 = 40} 747 { attributes = (NumberFormat$Field.INTEGER 748 NumberFormat$Field.GROUPING_SEPARATOR) 749 begin = 28 end = 29 } 750 { attributes = (NumberFormat$Field.INTEGER) 751 begin = 29 begin2 = 1 end = 32 end2 = 40} 752 { attributes = (NumberFormat$Field.INTEGER 753 NumberFormat$Field.GROUPING_SEPARATOR) 754 begin = 32 end = 33 } 755 { attributes = (NumberFormat$Field.INTEGER) 756 begin = 33 begin2 = 1 end = 36 end2 = 40} 757 { attributes = (NumberFormat$Field.INTEGER 758 NumberFormat$Field.GROUPING_SEPARATOR) 759 begin = 36 end = 37 } 760 { attributes = (NumberFormat$Field.INTEGER 761 MessageFormat$Field.ARGUMENT) 762 begin = 37 begin2 = 1 end = 40 end2 = 40} 763 { attributes = (NumberFormat$Field.DECIMAL_SEPARATOR) 764 begin = 40 end = 41 } 765 { attributes = (NumberFormat$Field.FRACTION) 766 begin = 41 begin2 = 41 end = 60 } 767 ) 768 fieldPositions = 769 ( 770 { 771 fieldID = NumberFormat$Field.SIGN 772 begin = 0 end = 1 773 } 774 { 775 fieldID = NumberFormat$Field.DECIMAL_SEPARATOR 776 begin = 40 end = 41 777 } 778 { 779 field = NumberFormat.INTEGER_FIELD 780 fieldID = NumberFormat$Field.INTEGER 781 begin = 1 end = 40 782 } 783 { 784 field = NumberFormat.FRACTION_FIELD 785 fieldID = NumberFormat$Field.FRACTION 786 begin = 41 end = 60 787 } 788 ) 789 } 790 791 { 792 class = java.text.DecimalFormat 793 args = ("#,###") 794 valueClass = java.lang.Long 795 valueArgs = ("9223372036854775807") 796 } 797 { 798 length = 25 799 text = "9,223,372,036,854,775,807" 800 0 = (NumberFormat$Field.INTEGER) 801 1 = (NumberFormat$Field.INTEGER 802 NumberFormat$Field.GROUPING_SEPARATOR) 803 2 = (NumberFormat$Field.INTEGER) 804 3 = (NumberFormat$Field.INTEGER) 805 4 = (NumberFormat$Field.INTEGER) 806 5 = (NumberFormat$Field.INTEGER 807 NumberFormat$Field.GROUPING_SEPARATOR) 808 6 = (NumberFormat$Field.INTEGER) 809 7 = (NumberFormat$Field.INTEGER) 810 8 = (NumberFormat$Field.INTEGER) 811 9 = (NumberFormat$Field.INTEGER 812 NumberFormat$Field.GROUPING_SEPARATOR) 813 10 = (NumberFormat$Field.INTEGER) 814 11 = (NumberFormat$Field.INTEGER) 815 12 = (NumberFormat$Field.INTEGER) 816 13 = (NumberFormat$Field.INTEGER 817 NumberFormat$Field.GROUPING_SEPARATOR) 818 14 = (NumberFormat$Field.INTEGER) 819 15 = (NumberFormat$Field.INTEGER) 820 16 = (NumberFormat$Field.INTEGER) 821 17 = (NumberFormat$Field.INTEGER 822 NumberFormat$Field.GROUPING_SEPARATOR) 823 18 = (NumberFormat$Field.INTEGER) 824 19 = (NumberFormat$Field.INTEGER) 825 20 = (NumberFormat$Field.INTEGER) 826 21 = (NumberFormat$Field.INTEGER 827 NumberFormat$Field.GROUPING_SEPARATOR) 828 22 = (NumberFormat$Field.INTEGER) 829 23 = (NumberFormat$Field.INTEGER) 830 24 = (NumberFormat$Field.INTEGER) 831 limits = ( 832 { attributes = (NumberFormat$Field.INTEGER) 833 begin = 0 end = 1 end2 = 25} 834 { attributes = (NumberFormat$Field.INTEGER 835 NumberFormat$Field.GROUPING_SEPARATOR) 836 begin = 1 end = 2} 837 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 838 begin = 1 end = 2} 839 { attributes = (NumberFormat$Field.INTEGER 840 NumberFormat$Field.GROUPING_SEPARATOR) 841 begin = 5 end = 6} 842 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 843 begin = 5 end = 6} 844 { attributes = (NumberFormat$Field.INTEGER 845 NumberFormat$Field.GROUPING_SEPARATOR) 846 begin = 9 end = 10} 847 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 848 begin = 9 end = 10} 849 { attributes = (NumberFormat$Field.INTEGER 850 NumberFormat$Field.GROUPING_SEPARATOR) 851 begin = 13 end = 14} 852 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 853 begin = 13 end = 14} 854 { attributes = (NumberFormat$Field.INTEGER 855 NumberFormat$Field.GROUPING_SEPARATOR) 856 begin = 17 end = 18} 857 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 858 begin = 17 end = 18} 859 { attributes = (NumberFormat$Field.INTEGER 860 NumberFormat$Field.GROUPING_SEPARATOR) 861 begin = 21 end = 22} 862 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 863 begin = 21 end = 22} 864 ) 865 fieldPositions = 866 ( 867 { 868 field = NumberFormat.INTEGER_FIELD 869 fieldID = NumberFormat$Field.INTEGER 870 begin = 0 end = 25 871 } 872 { 873 fieldID = NumberFormat$Field.GROUPING_SEPARATOR 874 begin = 1 end = 2 875 } 876 ) 877 } 878 879 { 880 class = java.text.DecimalFormat 881 args = ("#,###") 882 valueClass = java.util.concurrent.atomic.AtomicLong 883 valueArgs = ("9223372036854775807") 884 } 885 { 886 length = 25 887 text = "9,223,372,036,854,775,807" 888 0 = (NumberFormat$Field.INTEGER) 889 1 = (NumberFormat$Field.INTEGER 890 NumberFormat$Field.GROUPING_SEPARATOR) 891 2 = (NumberFormat$Field.INTEGER) 892 3 = (NumberFormat$Field.INTEGER) 893 4 = (NumberFormat$Field.INTEGER) 894 5 = (NumberFormat$Field.INTEGER 895 NumberFormat$Field.GROUPING_SEPARATOR) 896 6 = (NumberFormat$Field.INTEGER) 897 7 = (NumberFormat$Field.INTEGER) 898 8 = (NumberFormat$Field.INTEGER) 899 9 = (NumberFormat$Field.INTEGER 900 NumberFormat$Field.GROUPING_SEPARATOR) 901 10 = (NumberFormat$Field.INTEGER) 902 11 = (NumberFormat$Field.INTEGER) 903 12 = (NumberFormat$Field.INTEGER) 904 13 = (NumberFormat$Field.INTEGER 905 NumberFormat$Field.GROUPING_SEPARATOR) 906 14 = (NumberFormat$Field.INTEGER) 907 15 = (NumberFormat$Field.INTEGER) 908 16 = (NumberFormat$Field.INTEGER) 909 17 = (NumberFormat$Field.INTEGER 910 NumberFormat$Field.GROUPING_SEPARATOR) 911 18 = (NumberFormat$Field.INTEGER) 912 19 = (NumberFormat$Field.INTEGER) 913 20 = (NumberFormat$Field.INTEGER) 914 21 = (NumberFormat$Field.INTEGER 915 NumberFormat$Field.GROUPING_SEPARATOR) 916 22 = (NumberFormat$Field.INTEGER) 917 23 = (NumberFormat$Field.INTEGER) 918 24 = (NumberFormat$Field.INTEGER) 919 limits = ( 920 { attributes = (NumberFormat$Field.INTEGER) 921 begin = 0 end = 1 end2 = 25} 922 { attributes = (NumberFormat$Field.INTEGER 923 NumberFormat$Field.GROUPING_SEPARATOR) 924 begin = 1 end = 2} 925 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 926 begin = 1 end = 2} 927 { attributes = (NumberFormat$Field.INTEGER 928 NumberFormat$Field.GROUPING_SEPARATOR) 929 begin = 5 end = 6} 930 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 931 begin = 5 end = 6} 932 { attributes = (NumberFormat$Field.INTEGER 933 NumberFormat$Field.GROUPING_SEPARATOR) 934 begin = 9 end = 10} 935 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 936 begin = 9 end = 10} 937 { attributes = (NumberFormat$Field.INTEGER 938 NumberFormat$Field.GROUPING_SEPARATOR) 939 begin = 13 end = 14} 940 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 941 begin = 13 end = 14} 942 { attributes = (NumberFormat$Field.INTEGER 943 NumberFormat$Field.GROUPING_SEPARATOR) 944 begin = 17 end = 18} 945 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 946 begin = 17 end = 18} 947 { attributes = (NumberFormat$Field.INTEGER 948 NumberFormat$Field.GROUPING_SEPARATOR) 949 begin = 21 end = 22} 950 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 951 begin = 21 end = 22} 952 ) 953 fieldPositions = 954 ( 955 { 956 field = NumberFormat.INTEGER_FIELD 957 fieldID = NumberFormat$Field.INTEGER 958 begin = 0 end = 25 959 } 960 { 961 fieldID = NumberFormat$Field.GROUPING_SEPARATOR 962 begin = 1 end = 2 963 } 964 ) 965 } 966 967 { 968 class = java.text.DecimalFormat 969 args = ("#,###") 970 valueClass = java.lang.Long 971 valueArgs = ("-9223372036854775808") 972 } 973 { 974 length = 26 975 text = "-9,223,372,036,854,775,808" 976 0 = (NumberFormat$Field.SIGN) 977 1 = (NumberFormat$Field.INTEGER) 978 2 = (NumberFormat$Field.INTEGER 979 NumberFormat$Field.GROUPING_SEPARATOR) 980 3 = (NumberFormat$Field.INTEGER) 981 4 = (NumberFormat$Field.INTEGER) 982 5 = (NumberFormat$Field.INTEGER) 983 6 = (NumberFormat$Field.INTEGER 984 NumberFormat$Field.GROUPING_SEPARATOR) 985 7 = (NumberFormat$Field.INTEGER) 986 8 = (NumberFormat$Field.INTEGER) 987 9 = (NumberFormat$Field.INTEGER) 988 10 = (NumberFormat$Field.INTEGER 989 NumberFormat$Field.GROUPING_SEPARATOR) 990 11 = (NumberFormat$Field.INTEGER) 991 12 = (NumberFormat$Field.INTEGER) 992 13 = (NumberFormat$Field.INTEGER) 993 14 = (NumberFormat$Field.INTEGER 994 NumberFormat$Field.GROUPING_SEPARATOR) 995 15 = (NumberFormat$Field.INTEGER) 996 16 = (NumberFormat$Field.INTEGER) 997 17 = (NumberFormat$Field.INTEGER) 998 18 = (NumberFormat$Field.INTEGER 999 NumberFormat$Field.GROUPING_SEPARATOR) 1000 19 = (NumberFormat$Field.INTEGER) 1001 20 = (NumberFormat$Field.INTEGER) 1002 21 = (NumberFormat$Field.INTEGER) 1003 22 = (NumberFormat$Field.INTEGER 1004 NumberFormat$Field.GROUPING_SEPARATOR) 1005 23 = (NumberFormat$Field.INTEGER) 1006 24 = (NumberFormat$Field.INTEGER) 1007 25 = (NumberFormat$Field.INTEGER) 1008 limits = ( 1009 { attributes = (NumberFormat$Field.SIGN) 1010 begin = 0 end = 1 } 1011 { attributes = (NumberFormat$Field.INTEGER) 1012 begin = 1 end = 2 end2 = 26} 1013 { attributes = (NumberFormat$Field.INTEGER 1014 NumberFormat$Field.GROUPING_SEPARATOR) 1015 begin = 2 end = 3} 1016 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1017 begin = 2 end = 3} 1018 { attributes = (NumberFormat$Field.INTEGER 1019 NumberFormat$Field.GROUPING_SEPARATOR) 1020 begin = 6 end = 7} 1021 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1022 begin = 6 end = 7} 1023 { attributes = (NumberFormat$Field.INTEGER 1024 NumberFormat$Field.GROUPING_SEPARATOR) 1025 begin = 10 end = 11} 1026 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1027 begin = 10 end = 11} 1028 { attributes = (NumberFormat$Field.INTEGER 1029 NumberFormat$Field.GROUPING_SEPARATOR) 1030 begin = 14 end = 15} 1031 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1032 begin = 14 end = 15} 1033 { attributes = (NumberFormat$Field.INTEGER 1034 NumberFormat$Field.GROUPING_SEPARATOR) 1035 begin = 18 end = 19} 1036 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1037 begin = 18 end = 19} 1038 { attributes = (NumberFormat$Field.INTEGER 1039 NumberFormat$Field.GROUPING_SEPARATOR) 1040 begin = 22 end = 23} 1041 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1042 begin = 22 end = 23} 1043 ) 1044 fieldPositions = 1045 ( 1046 { 1047 fieldID = NumberFormat$Field.SIGN 1048 begin = 0 end = 1 1049 } 1050 { 1051 field = NumberFormat.INTEGER_FIELD 1052 fieldID = NumberFormat$Field.INTEGER 1053 begin = 1 end = 26 1054 } 1055 { 1056 fieldID = NumberFormat$Field.GROUPING_SEPARATOR 1057 begin = 2 end = 3 1058 } 1059 ) 1060 } 1061 1062 { 1063 class = java.text.DecimalFormat 1064 args = ("#,###") 1065 valueClass = java.util.concurrent.atomic.AtomicLong 1066 valueArgs = ("-9223372036854775808") 1067 } 1068 { 1069 length = 26 1070 text = "-9,223,372,036,854,775,808" 1071 0 = (NumberFormat$Field.SIGN) 1072 1 = (NumberFormat$Field.INTEGER) 1073 2 = (NumberFormat$Field.INTEGER 1074 NumberFormat$Field.GROUPING_SEPARATOR) 1075 3 = (NumberFormat$Field.INTEGER) 1076 4 = (NumberFormat$Field.INTEGER) 1077 5 = (NumberFormat$Field.INTEGER) 1078 6 = (NumberFormat$Field.INTEGER 1079 NumberFormat$Field.GROUPING_SEPARATOR) 1080 7 = (NumberFormat$Field.INTEGER) 1081 8 = (NumberFormat$Field.INTEGER) 1082 9 = (NumberFormat$Field.INTEGER) 1083 10 = (NumberFormat$Field.INTEGER 1084 NumberFormat$Field.GROUPING_SEPARATOR) 1085 11 = (NumberFormat$Field.INTEGER) 1086 12 = (NumberFormat$Field.INTEGER) 1087 13 = (NumberFormat$Field.INTEGER) 1088 14 = (NumberFormat$Field.INTEGER 1089 NumberFormat$Field.GROUPING_SEPARATOR) 1090 15 = (NumberFormat$Field.INTEGER) 1091 16 = (NumberFormat$Field.INTEGER) 1092 17 = (NumberFormat$Field.INTEGER) 1093 18 = (NumberFormat$Field.INTEGER 1094 NumberFormat$Field.GROUPING_SEPARATOR) 1095 19 = (NumberFormat$Field.INTEGER) 1096 20 = (NumberFormat$Field.INTEGER) 1097 21 = (NumberFormat$Field.INTEGER) 1098 22 = (NumberFormat$Field.INTEGER 1099 NumberFormat$Field.GROUPING_SEPARATOR) 1100 23 = (NumberFormat$Field.INTEGER) 1101 24 = (NumberFormat$Field.INTEGER) 1102 25 = (NumberFormat$Field.INTEGER) 1103 limits = ( 1104 { attributes = (NumberFormat$Field.SIGN) 1105 begin = 0 end = 1 } 1106 { attributes = (NumberFormat$Field.INTEGER) 1107 begin = 1 end = 2 end2 = 26} 1108 { attributes = (NumberFormat$Field.INTEGER 1109 NumberFormat$Field.GROUPING_SEPARATOR) 1110 begin = 2 end = 3} 1111 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1112 begin = 2 end = 3} 1113 { attributes = (NumberFormat$Field.INTEGER 1114 NumberFormat$Field.GROUPING_SEPARATOR) 1115 begin = 6 end = 7} 1116 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1117 begin = 6 end = 7} 1118 { attributes = (NumberFormat$Field.INTEGER 1119 NumberFormat$Field.GROUPING_SEPARATOR) 1120 begin = 10 end = 11} 1121 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1122 begin = 10 end = 11} 1123 { attributes = (NumberFormat$Field.INTEGER 1124 NumberFormat$Field.GROUPING_SEPARATOR) 1125 begin = 14 end = 15} 1126 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1127 begin = 14 end = 15} 1128 { attributes = (NumberFormat$Field.INTEGER 1129 NumberFormat$Field.GROUPING_SEPARATOR) 1130 begin = 18 end = 19} 1131 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1132 begin = 18 end = 19} 1133 { attributes = (NumberFormat$Field.INTEGER 1134 NumberFormat$Field.GROUPING_SEPARATOR) 1135 begin = 22 end = 23} 1136 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1137 begin = 22 end = 23} 1138 ) 1139 fieldPositions = 1140 ( 1141 { 1142 fieldID = NumberFormat$Field.SIGN 1143 begin = 0 end = 1 1144 } 1145 { 1146 field = NumberFormat.INTEGER_FIELD 1147 fieldID = NumberFormat$Field.INTEGER 1148 begin = 1 end = 26 1149 } 1150 { 1151 fieldID = NumberFormat$Field.GROUPING_SEPARATOR 1152 begin = 2 end = 3 1153 } 1154 ) 1155 } 1156 1157 { 1158 class = java.text.DecimalFormat 1159 args = ("#,###") 1160 valueClass = java.util.concurrent.atomic.AtomicInteger 1161 valueArgs = ("2147483647") 1162 } 1163 { 1164 length = 13 1165 text = "2,147,483,647" 1166 0 = (NumberFormat$Field.INTEGER) 1167 1 = (NumberFormat$Field.INTEGER 1168 NumberFormat$Field.GROUPING_SEPARATOR) 1169 2 = (NumberFormat$Field.INTEGER) 1170 3 = (NumberFormat$Field.INTEGER) 1171 4 = (NumberFormat$Field.INTEGER) 1172 5 = (NumberFormat$Field.INTEGER 1173 NumberFormat$Field.GROUPING_SEPARATOR) 1174 6 = (NumberFormat$Field.INTEGER) 1175 7 = (NumberFormat$Field.INTEGER) 1176 8 = (NumberFormat$Field.INTEGER) 1177 9 = (NumberFormat$Field.INTEGER 1178 NumberFormat$Field.GROUPING_SEPARATOR) 1179 10 = (NumberFormat$Field.INTEGER) 1180 11 = (NumberFormat$Field.INTEGER) 1181 12 = (NumberFormat$Field.INTEGER) 1182 limits = ( 1183 { attributes = (NumberFormat$Field.INTEGER) 1184 begin = 0 end = 1 end2 = 13} 1185 { attributes = (NumberFormat$Field.INTEGER 1186 NumberFormat$Field.GROUPING_SEPARATOR) 1187 begin = 1 end = 2} 1188 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1189 begin = 1 end = 2} 1190 { attributes = (NumberFormat$Field.INTEGER 1191 NumberFormat$Field.GROUPING_SEPARATOR) 1192 begin = 5 end = 6} 1193 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1194 begin = 5 end = 6} 1195 { attributes = (NumberFormat$Field.INTEGER 1196 NumberFormat$Field.GROUPING_SEPARATOR) 1197 begin = 9 end = 10} 1198 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1199 begin = 9 end = 10} 1200 ) 1201 fieldPositions = 1202 ( 1203 { 1204 field = NumberFormat.INTEGER_FIELD 1205 fieldID = NumberFormat$Field.INTEGER 1206 begin = 0 end = 13 1207 } 1208 { 1209 fieldID = NumberFormat$Field.GROUPING_SEPARATOR 1210 begin = 1 end = 2 1211 } 1212 ) 1213 } 1214 1215 { 1216 class = java.text.DecimalFormat 1217 args = ("#,###") 1218 valueClass = java.util.concurrent.atomic.AtomicInteger 1219 valueArgs = ("-2147483648") 1220 } 1221 { 1222 length = 14 1223 text = "-2,147,483,648" 1224 0 = (NumberFormat$Field.SIGN) 1225 1 = (NumberFormat$Field.INTEGER) 1226 2 = (NumberFormat$Field.INTEGER 1227 NumberFormat$Field.GROUPING_SEPARATOR) 1228 3 = (NumberFormat$Field.INTEGER) 1229 4 = (NumberFormat$Field.INTEGER) 1230 5 = (NumberFormat$Field.INTEGER) 1231 6 = (NumberFormat$Field.INTEGER 1232 NumberFormat$Field.GROUPING_SEPARATOR) 1233 7 = (NumberFormat$Field.INTEGER) 1234 8 = (NumberFormat$Field.INTEGER) 1235 9 = (NumberFormat$Field.INTEGER) 1236 10 = (NumberFormat$Field.INTEGER 1237 NumberFormat$Field.GROUPING_SEPARATOR) 1238 11 = (NumberFormat$Field.INTEGER) 1239 12 = (NumberFormat$Field.INTEGER) 1240 13 = (NumberFormat$Field.INTEGER) 1241 limits = ( 1242 { attributes = (NumberFormat$Field.SIGN) 1243 begin = 0 end = 1 } 1244 { attributes = (NumberFormat$Field.INTEGER) 1245 begin = 1 end = 2 end2 = 14} 1246 { attributes = (NumberFormat$Field.INTEGER 1247 NumberFormat$Field.GROUPING_SEPARATOR) 1248 begin = 2 end = 3} 1249 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1250 begin = 2 end = 3} 1251 { attributes = (NumberFormat$Field.INTEGER 1252 NumberFormat$Field.GROUPING_SEPARATOR) 1253 begin = 6 end = 7} 1254 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1255 begin = 6 end = 7} 1256 { attributes = (NumberFormat$Field.INTEGER 1257 NumberFormat$Field.GROUPING_SEPARATOR) 1258 begin = 10 end = 11} 1259 { attributes = (NumberFormat$Field.GROUPING_SEPARATOR) 1260 begin = 10 end = 11} 1261 ) 1262 fieldPositions = 1263 ( 1264 { 1265 fieldID = NumberFormat$Field.SIGN 1266 begin = 0 end = 1 1267 } 1268 { 1269 field = NumberFormat.INTEGER_FIELD 1270 fieldID = NumberFormat$Field.INTEGER 1271 begin = 1 end = 14 1272 } 1273 { 1274 fieldID = NumberFormat$Field.GROUPING_SEPARATOR 1275 begin = 2 end = 3 1276 } 1277 ) 1278 } 1279 ) 1280 }