Interface DateInterval.Builder

    • Method Detail

      • startDateTime

        DateInterval.Builder startDateTime​(String startDateTime)

        A JSON object containing start and date time (UTC). Date and time format is RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.

        Parameters:
        startDateTime - A JSON object containing start and date time (UTC). Date and time format is RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endDateTime

        DateInterval.Builder endDateTime​(String endDateTime)

        End Date Time (UTC). RFC 3339 format : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.

        Parameters:
        endDateTime - End Date Time (UTC). RFC 3339 format : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
        Returns:
        Returns a reference to this object so that method calls can be chained together.