MUZIMA-153: Adding check for date validation and stripping time from date.
MUZIMA-153: Adding check for date validation and stripping time from date.

ShwethaThammaiah/muzima-android-1,ShwethaThammaiah/muzima-android-1,vijayakumarn/muzima-android,sthaiya/muzima-android,vijayakumarn/muzima-android,vijayakumarn/muzima-android,ShwethaThammaiah/muzima-android-1,sthaiya/muzima-android,sthaiya/muzima-android,ShwethaThammaiah/muzima-android-1,vijayakumarn/muzima-android