Prevent setting precision higher than "day"

Bug 48145

Change-Id: I455070549e18759952a5eb7bf37c88997cdcc94a
Merge "Prevent setting precision higher than "day""