add date enum
Merge branch 'master' into scala-2.9.2