DD_DAYLIGHT_INFO
Structure Definition
Function Description
Daylight saving time configuration structure.
Member Description
| Member | Type | Remark |
| InMonth | unsigned char | Which month does DST begin? |
| InMday | unsigned char | The day when DST begins (valid in date format). |
| OutMonth | unsigned char | Which month does DST occur? |
| OutMday | unsigned char | On which day DST begins (valid in date format). |
| InWeekIndex | unsigned char | Week number in which DST begins (valid in week format). |
| InWday | unsigned char | Day of week to enter DST (week mode is valid). |
| OutWeekIndex | unsigned char | Which week DST occurs (valid in week mode). |
| OutWday | unsigned char | The day of the week when DST occurs (valid in week mode). |
| InYear | unsigned short | The year when DST begins may not be useful, but putting it here just aligns the structure, so it is retained. |
| OutYear | unsigned short | The year when DST is not in effect may not be useful, but it is kept here so that the structure can be aligned. |
| enable | unsigned short | Whether to enable the daylight saving time function. |
| type | unsigned short | Daylight saving time setting method: week or date mode. |
| InSecond | unsigned int | The second offset (0 to 86399) during the day of entering DST can be converted into hours, minutes and seconds. |
| OutSecond | unsigned int | Output the DST second offset within a day (0 to 86399), which can be converted into hours, minutes and seconds. |
| offSet | unsigned int | Daylight saving time offset (0 to 86399) seconds. |