@Test public void testShortMonth() throws Exception { String date = "23 Sep 2010"; long result = DateLocaleFactory.INSTANCE.getLocale("en-GB").matchMonth(date, 3, date.length()); Assert.assertEquals(3, Numbers.decodeHighInt(result)); Assert.assertEquals(8, Numbers.decodeLowInt(result)); }
public long matchMonth(CharSequence content, int lo, int hi) throws NumericException { return findToken(content, lo, hi, months); }
DateLocale { public long matchMonth(CharSequence content, int lo, int hi) throws NumericException { return findToken(content, lo, hi, months); } }
DateLocale { public long matchMonth(CharSequence content, int lo, int hi) throws NumericException { return findToken(content, lo, hi, months); } DateLocale(DateFormatSymbols symbols, TimeZoneRuleFactory timeZoneRuleFactory, @Transient CharSequenceHashSet cache); }
DateLocale { public long matchMonth(CharSequence content, int lo, int hi) throws NumericException { return findToken(content, lo, hi, months); } DateLocale(DateFormatSymbols symbols, TimeZoneRuleFactory timeZoneRuleFactory, @Transient CharSequenceHashSet cache); String getAMPM(int index); String getEra(int index); String getMonth(int index); String getShortMonth(int index); TimeZoneRules getRules(CharSequence timeZoneName); String getShortWeekday(int index); String getWeekday(int index); TimeZoneRules getZoneRules(int index); long matchAMPM(CharSequence content, int lo, int hi); long matchEra(CharSequence content, int lo, int hi); long matchMonth(CharSequence content, int lo, int hi); long matchWeekday(CharSequence content, int lo, int hi); long matchZone(CharSequence content, int lo, int hi); }
DateLocale { public long matchMonth(CharSequence content, int lo, int hi) throws NumericException { return findToken(content, lo, hi, months); } DateLocale(DateFormatSymbols symbols, TimeZoneRuleFactory timeZoneRuleFactory, @Transient CharSequenceHashSet cache); String getAMPM(int index); String getEra(int index); String getMonth(int index); String getShortMonth(int index); TimeZoneRules getRules(CharSequence timeZoneName); String getShortWeekday(int index); String getWeekday(int index); TimeZoneRules getZoneRules(int index); long matchAMPM(CharSequence content, int lo, int hi); long matchEra(CharSequence content, int lo, int hi); long matchMonth(CharSequence content, int lo, int hi); long matchWeekday(CharSequence content, int lo, int hi); long matchZone(CharSequence content, int lo, int hi);  }