DJI Mobile SDK Documentation

      class DateTime

      class DateTime implements DJIValue, JNIProguardKeepTag, ByteStream
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Time data.

      Class Members:

      Members

      method
      method getYear
      Integer getYear()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get the year.

      Return:
      IntegerReturn Year
      method
      method setYear
      void setYear(Integer year)
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To set the year.

      Input Parameters:
      Integer yearyear
      method
      method getMonth
      Integer getMonth()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get the month.

      Return:
      IntegerReturn month.
      method
      method setMonth
      void setMonth(Integer month)
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To set the month.

      Input Parameters:
      Integer monthmonth
      method
      method getDay
      Integer getDay()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get the day.

      Return:
      IntegerReturn day.
      method
      method setDay
      void setDay(Integer day)
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To set the day.

      Input Parameters:
      Integer dayday
      method
      method getHour
      Integer getHour()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get the hour.

      Return:
      IntegerReturn hour.
      method
      method setHour
      void setHour(Integer hour)
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To set the hour.

      Input Parameters:
      Integer hourhour
      method
      method getMinute
      Integer getMinute()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get the minute.

      Return:
      IntegerReturn minute.
      method
      method setMinute
      void setMinute(Integer minute)
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To set the minute.

      Input Parameters:
      Integer minuteminute
      method
      method getSecond
      Integer getSecond()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get the second.

      Return:
      IntegerReturn second.
      method
      method setSecond
      void setSecond(Integer second)
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To set the second.

      Input Parameters:
      Integer secondsecond