Class NeoDateTimeField

java.lang.Object

public class NeoDateTimeField
extends NeoTextField
This represents the NeoDateTimeField React Component
  • Field Details

  • Constructor Details

    • NeoDateTimeField

      public NeoDateTimeField​(NeoUIContext context, org.openqa.selenium.WebElement element)
      The constructor here initializes the date and time trigger elements.
      Parameters:
      context -
      element -
  • Method Details

    • setValue

      public void setValue​(java.util.Calendar calendar)
    • setValue

      public void setValue​(java.util.Date date)
      This method sets the value of the field to the input date Currently, this method uses the Timezone of the current user and converts to the preferred string format.
      Parameters:
      date -
    • setValueAsToday

      public void setValueAsToday()
      This method sets the date value as the current date by clicking the Today button on the date popup
    • openDatePopUp

      public void openDatePopUp()
      This method opens the date popup
    • closeDatePopUp

      public void closeDatePopUp()
    • openTimePopUp

      public void openTimePopUp()
      This method opens up the popup element for time
    • closeTimePopUp

      public void closeTimePopUp()