Adding update command
Renamed typeInterval in intervalType
Put class constants for date format
Put static class method for converting typeInterval and validate date
format
remove-command