Added suport ui.mask for date-time states.