# class DateTime

    class DateTime implements DJIValue, JNIProguardKeepTag, ByteStream

Package: | dji.sdk.keyvalue.value.camera

##### Description:

Time data.

##### Class Members:

#### Members

method
getYear

###### method getYear

    Integer getYear()

Package: | dji.sdk.keyvalue.value.camera

##### Description:

To get year.

##### Return:

Integer | Return Year

method
setYear

###### method setYear

    void setYear(Integer year)

Package: | dji.sdk.keyvalue.value.camera

##### Description:

To set year.

##### Input Parameters:

Integer year | year

method
getMonth

###### method getMonth

    Integer getMonth()

Package: | dji.sdk.keyvalue.value.camera

##### Description:

To get month.

##### Return:

Integer | Return month.

method
setMonth

###### method setMonth

    void setMonth(Integer month)

Package: | dji.sdk.keyvalue.value.camera

##### Description:

To set month.

##### Input Parameters:

Integer month | month

method
getDay

###### method getDay

    Integer getDay()

Package: | dji.sdk.keyvalue.value.camera

##### Description:

To get day.

##### Return:

Integer | Return day.

method
setDay

###### method setDay

    void setDay(Integer day)

Package: | dji.sdk.keyvalue.value.camera

##### Description:

To set day.

##### Input Parameters:

Integer day | day

method
getHour

###### method getHour

    Integer getHour()

Package: | dji.sdk.keyvalue.value.camera

##### Description:

To get hour.

##### Return:

Integer | Return hour.

method
setHour

###### method setHour

    void setHour(Integer hour)

Package: | dji.sdk.keyvalue.value.camera

##### Description:

To set hour.

##### Input Parameters:

Integer hour | hour

method
getMinute

###### method getMinute

    Integer getMinute()

Package: | dji.sdk.keyvalue.value.camera

##### Description:

To get minute.

##### Return:

Integer | Return minute.

method
setMinute

###### method setMinute

    void setMinute(Integer minute)

Package: | dji.sdk.keyvalue.value.camera

##### Description:

To set minute.

##### Input Parameters:

Integer minute | minute

method
getSecond

###### method getSecond

    Integer getSecond()

Package: | dji.sdk.keyvalue.value.camera

##### Description:

To get second.

##### Return:

Integer | Return second.

method
setSecond

###### method setSecond

    void setSecond(Integer second)

Package: | dji.sdk.keyvalue.value.camera

##### Description:

To set second.

##### Input Parameters:

Integer second | second

×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found