Changes

#225 (Apr 26, 2012 1:50:47 PM)

  1. made the parser serializable just in case that's useful — Mark Greenwood / Sventon 2.x

#224 (Feb 9, 2012 2:11:22 PM)

  1. ignore isolated month names that are written in lowercase — Mark Greenwood / Sventon 2.x

#223 (Dec 21, 2011 10:01:33 AM)

  1. only catch RuntimeException to make it clearer that no checked exceptions can be thrown at this point — Mark Greenwood / Sventon 2.x

#220 (Oct 13, 2011 1:20:51 PM)

  1. a unit test for the days of the week — Mark Greenwood / Sventon 2.x

#219 (Oct 13, 2011 1:00:51 PM)

  1. updated to cope with all day and month names in isolation of any other date info, includes a test for month names — Mark Greenwood / Sventon 2.x

#218 (Oct 13, 2011 9:50:51 AM)

  1. reorganized the checking order to avoid a regression — Mark Greenwood / Sventon 2.x

#217 (Oct 13, 2011 9:30:52 AM)

  1. allow month names on their own — Mark Greenwood / Sventon 2.x

#216 (Mar 2, 2011 3:41:21 PM)

  1. changed to using a set for the useful words and added some javadoc — Mark Greenwood / Sventon 2.x

#215 (Mar 2, 2011 3:11:21 PM)

  1. removed the code for doing just month names as it wasn't working properly and it has problems with 'may' -- need to think about this in more detail — Mark Greenwood / Sventon 2.x

#214 (Mar 2, 2011 2:31:21 PM)

  1. added some reset methods to allow a single instance to be easily reused which should make things more efficient — Mark Greenwood / Sventon 2.x

#213 (Mar 2, 2011 1:41:21 PM)

  1. a new middle endian format — Mark Greenwood / Sventon 2.x

#212 (Mar 2, 2011 8:41:22 AM)

  1. code formatting and some minor tweaks/fixes — Mark Greenwood / Sventon 2.x

#211 (Mar 2, 2011 7:41:18 AM)

  1. simplified the big endian support — Mark Greenwood / Sventon 2.x

#210 (Mar 2, 2011 7:31:18 AM)

  1. now using \p{Alpha} instead of \w in the regexps so if we don't have a space between a number and a word we can still spot the change and match properly — Mark Greenwood / Sventon 2.x

#209 (Mar 2, 2011 7:11:18 AM)

  1. work on adding support for big endian formats we didn't already handle and removed some time based stuff that was no longer needed — Mark Greenwood / Sventon 2.x

#208 (Mar 1, 2011 7:01:19 PM)

  1. updated some of the regexps so that when they check for characters appearing after the date they don't get included in the match -- i.e. they are now zero width positive lookaheads — Mark Greenwood / Sventon 2.x

#207 (Mar 1, 2011 7:10:43 AM)

  1. added other words to the keyword list, should probably load these from a locale based resource bundle — Mark Greenwood / Sventon 2.x

#206 (Feb 28, 2011 9:10:44 PM)

  1. added a utility method for getting the keywords — Mark Greenwood / Sventon 2.x

#205 (Feb 24, 2011 11:11:07 AM)

  1. added a new test and removed some old comments — Mark Greenwood / Sventon 2.x

#202 (Jan 24, 2011 11:31:20 AM)

  1. fixed a bug that wouldn't allow us to have January as a month — Mark Greenwood / Sventon 2.x

#201 (Jan 10, 2011 2:40:17 PM)

  1. added a catch for 'previous day' along with a test case — Mark Greenwood / Sventon 2.x

#200 (Jan 7, 2011 2:41:10 PM)

  1. updated the tests so that they check the ending parse position as well as the date returned — Mark Greenwood / Sventon 2.x

#199 (Jan 6, 2011 1:41:10 PM)

  1. some refactoring to allow for setting a new feature on the ParsePositionEx showing if the date is in the past/present/future of the date we are parsing against — Mark Greenwood / Sventon 2.x

#198 (Jan 6, 2011 12:11:11 PM)

  1. added code to stop weird number sequences such as 27-34-55 being converted to dates by checking that the day and month info are within  valid ranges — Mark Greenwood / Sventon 2.x

#47 (Dec 3, 2010 5:01:20 PM)

  1. fixed a bug in the handling of RFC3339 dates — Mark Greenwood / Sventon 2.x

#46 (Dec 2, 2010 12:11:11 PM)

  1. removed an unnecessary ; — Mark Greenwood / Sventon 2.x

#45 (Dec 2, 2010 9:51:17 AM)

  1. added support for recognising dates in the format specified by RFC3339 — Mark Greenwood / Sventon 2.x

#44 (Nov 23, 2010 11:01:42 AM)

  1. added a util method for creating a Locale instance from a string in the form lang(_country(_variant)?)? — Mark Greenwood / Sventon 2.x

#43 (Sep 13, 2010 11:30:48 AM)

  1. added code to parse standard HTTP header dates — Mark Greenwood / Sventon 2.x

#36 (Mar 13, 2010 3:21:15 PM)

  1. updated the build file so we don't report serialization warnings as they just annoy me — Mark Greenwood / Sventon 2.x

#35 (Mar 13, 2010 12:51:15 PM)

  1. enabled all compiler warnings when building — Mark Greenwood / Sventon 2.x

#34 (Mar 3, 2010 9:31:01 AM)

  1. fixed the dot,slash,dash full date regexp and added some more tests to ensure that it continues to work — Mark Greenwood / Sventon 2.x

#33 (Mar 2, 2010 1:21:01 PM)

  1. fix to use accurate instead of inferred — Mark Greenwood / Sventon 2.x

#32 (Mar 2, 2010 12:41:19 PM)

  1. added the accurate feature to the x days/weeks/months/years ago section — Mark Greenwood / Sventon 2.x

#31 (Feb 25, 2010 9:30:46 AM)

  1. allowed dashes and dots to appear between the three parts of a date as well as the normal slash character — Mark Greenwood / Sventon 2.x

#30 (Feb 24, 2010 2:20:46 PM)

  1. fixed the just month test (although it didn't fail here it was failing on hudson, weird) — Mark Greenwood / Sventon 2.x

#29 (Feb 24, 2010 2:10:46 PM)

  1. added a rule for spotting months on their own, need to think about how these should roll back/forward depending on where we are in the year of the date we are normalising against — Mark Greenwood / Sventon 2.x

#28 (Feb 24, 2010 10:20:46 AM)

  1. added another date test — Mark Greenwood / Sventon 2.x

#27 (Feb 23, 2010 5:32:00 PM)

  1. updated the build file so that deprecation warnings are displayed so we can track and hopefully remove them — Mark Greenwood / Sventon 2.x

#26 (Feb 23, 2010 3:10:46 PM)

  1. added the ability to parse (and hence normalise) dates such as '3 days/weeks/months/years ago' — Mark Greenwood / Sventon 2.x

#25 (Feb 22, 2010 3:20:46 PM)

  1. added tests for next/last month — Mark Greenwood / Sventon 2.x

#24 (Feb 22, 2010 1:40:46 PM)

  1. added some more javadoc — Mark Greenwood / Sventon 2.x

#23 (Feb 22, 2010 12:50:46 PM)

  1. removed INFERRED_ from the beginning of the flags so that they can be used to set other features without it seeming weird — Mark Greenwood / Sventon 2.x

#22 (Feb 22, 2010 11:10:47 AM)

  1. added another feature to the parse position, this records the accuracy of the date, so if we say 'last week' then then the year and month are marked as accurate. currently uses the inferred flags which we should just rename to generic flag names for use with both inferred and accurate features — Mark Greenwood / Sventon 2.x

#21 (Feb 22, 2010 10:40:57 AM)

  1. added support for next/last year and tests to go with them — Mark Greenwood / Sventon 2.x

#20 (Feb 21, 2010 12:52:00 PM)

  1. added tests for yesterday and tomorrow that involve both month and year rolls — Mark Greenwood / Sventon 2.x

#19 (Feb 21, 2010 11:50:18 AM)

  1. added a single proper JUnit test, hopefully there will be more soon — Mark Greenwood / Sventon 2.x

#18 (Feb 20, 2010 12:41:11 PM)

  1. applied some formatting to the source code — Mark Greenwood / Sventon 2.x

#17 (Feb 19, 2010 11:41:13 AM)

  1. added support for parsing dates such as 'July 2010' or 'Aug '06' and updated some of the other patterns to stop false matches — Mark Greenwood / Sventon 2.x

#16 (Feb 19, 2010 4:20:53 AM)

  1. better encapsulation — Mark Greenwood / Sventon 2.x

#15 (Feb 19, 2010 4:00:53 AM)

  1. javadoc on the constructors — Mark Greenwood / Sventon 2.x
  2. javadoc for the constants — Mark Greenwood / Sventon 2.x

#14 (Feb 19, 2010 2:40:52 AM)

  1. updated the test to use the inferred feature, altered the way we do things in the parser which should make it thread safe and I've also added a bunch of null checks to make sure we don't get caught out by odd parameter values — Mark Greenwood / Sventon 2.x

#13 (Feb 19, 2010 2:10:53 AM)

  1. removed the relative feature onm the ParsePositionEx as it was duplicated by the more useful inferred feature — Mark Greenwood / Sventon 2.x

#12 (Feb 19, 2010 1:10:52 AM)

  1. added some javadoc comments and a second constructor to the ParsePosition subclass — Mark Greenwood / Sventon 2.x

#11 (Feb 19, 2010 1:02:37 AM)

  1. added a title head attribute tothe javadocs — Mark Greenwood / Sventon 2.x

#10 (Feb 19, 2010 1:00:52 AM)

  1. simplified the findbugs target and added a javadoc target — Mark Greenwood / Sventon 2.x
  2. added next/last month as possible dates — Mark Greenwood / Sventon 2.x

#9 (Feb 17, 2010 7:05:13 PM)

  1. added an equals and hashCode method so that the features can be used to compare two instances of ParsePositionEx, not that we are likely to ever want to do that — Mark Greenwood / Sventon 2.x

#8 (Feb 17, 2010 7:00:53 PM)

  1. added bit flags for recording which bits of the date have been inferred from the date to normalise against rather from the text of the actual date — Mark Greenwood / Sventon 2.x

#7 (Feb 17, 2010 9:00:54 AM)

  1. updated the test class to use the ParsePositionEx and to report if the date that was found was relative or fully specified — Mark Greenwood / Sventon 2.x
  2. added a ParsePosition sublclass which can hold features about the parse that is taking place. if an instance of this class is passed to the parse methods then we record extra information that may be of use to the calling method — Mark Greenwood / Sventon 2.x

#6 (Feb 16, 2010 2:30:58 PM)

  1. last/next week now work as well, they normalise to the first day of the previous week where the first day is determined from the locale — Mark Greenwood / Sventon 2.x

#5 (Feb 10, 2010 11:11:15 AM)

  1. yet-another-fix to make sure if the relative date is null then we do the right thing, and also code to move the parse position to the end of the two new last/next patterns — Mark Greenwood / Sventon 2.x

#4 (Feb 10, 2010 11:01:15 AM)

  1. added a pattern for doing things like 'next Thursday' although still need to think more about if we need to roll the week forward — Mark Greenwood / Sventon 2.x
  2. added a pattern for spotting things like 'last Tuesday', although need to think about how to roll weeks correctly — Mark Greenwood / Sventon 2.x

#3 (Feb 10, 2010 10:51:14 AM)

  1. added generics support to the lists — Mark Greenwood / Sventon 2.x
  2. eclipse project files — Mark Greenwood / Sventon 2.x

#2 (Feb 9, 2010 7:21:15 PM)

  1. fixed so that if we don't specify a date to parse against we use today and not some time in March 2000 — Mark Greenwood / Sventon 2.x