• Home
  • Raw
  • Download

Lines Matching refs:and

4 // *   Corporation and others.  All Rights Reserved.
21 // * eighty-nine" and commas are inserted between the thousands groups for
33 // number's integral part is substituted for the <<, and
59 // here, it refers to both the ones place and the tens place.
60 // The meanings of the << and >> tokens depend on the base value
64 // divisor, and the integral quotient is used to get the text
71 // rule for 100: Again, the << and >> tokens depend on the
74 // rules between 1,000 and 1,000,000.
82 // being formatted by this rule and place the result where
85 // be formatted with a DecimalFormat object, and that it
87 // digit, and a thousands separator.
91 // the same, except that it introduces "and" before the ones digit
92 // when appropriate (basically, between the tens and ones digits) and
95 // negative-number and fraction rules. These are the same
102 // for values from 100 to 9,999 use %%and to decide whether or
103 // not to interpose the "and"
104 "100: << hundred[ >%%and>];\n"
105 "1000: << thousand[ >%%and>];\n"
106 // for values of 100,000 and up, use %%commas to interpose the
107 // commas in the right places (and also to interpose the "and")
114 // add the "and"; if it's less than 100, add "and" before the last
116 "%%and:\n"
117 "and =%default=;\n"
121 // for values below 100, add "and" (the apostrophe at the
125 "' and =%default=;\n"
132 // and so on...
140 // ignores hyphens, making "twenty one" and "twenty-one" parse
152 // this rule set formats the numeral and calls %%abbrev to
161 // but 23 and 33 are "23rd" and "33rd") We do this by
165 // tens and ones digits in picking an abbreviation
170 // * (i.e., hours, minutes, and seconds). %with-words formats it with
171 // * words (3,740 is "1 hour, 2 minutes, 20 seconds") and %in-numerals
176 // take care of singular and plural forms of "second"
184 // this rule set takes care of the singular and plural forms
188 // this rule set takes care of the singular and plural forms
200 // ...and %%hr-min-sec is used for values of 3,600 seconds
201 // and above
209 // shown, and always shown with two digits
215 // as delimiters between hours, minutes, and seconds