change Date interface
fix test
Merge branch 'date'

change Date interface