GenerateDuration