public DateTimePickerComponent(ContextConfiguration contextConfiguration, string className)
 {
     WaitUtils.elementState(contextConfiguration.WebDriverWait, By.CssSelector($".{className}"), ElementState.EXISTS);
     DateTimePickerElement = contextConfiguration.WebDriver.FindElement(By.CssSelector($".{className}"));
     datePickerComponent   = new DatePickerComponent(contextConfiguration, className);
     timePickerComponent   = new TimePickerComponent(contextConfiguration, className);
 }
 public DateTimePickerComponent(ContextConfiguration contextConfiguration, IWebElement dateTimePickerElement)
 {
     DateTimePickerElement = dateTimePickerElement;
     datePickerComponent   = new DatePickerComponent(contextConfiguration, dateTimePickerElement);
     timePickerComponent   = new TimePickerComponent(contextConfiguration, dateTimePickerElement);
 }