duration validator numerical