< Home

Data Model

The configuration model file matching time management is ietf-system.yang.

Table 1 Time management

Object

Description

Value Remarks

/ietf-system:system/clock/timezone/timezone-utc-offset/timezone-utc-offset

Indicates the time zone offset.

The value is an integer in the range from -720 to 840, in minutes.

N/A

/ietf-system:set-current-datetime/current-datetime

Indicates the current time on the device.

The value is in any of the following formats:
  • YYYY-MM-DDTHH:MM:SS+HH:MM
  • YYYY-MM-DDTHH:MM:SS-HH:MM
  • YYYY-MM-DDTHH:MM:SSZ
In the preceding formats:
  • YYYY indicates the year. The value is an integer in the range from 2000 to 2037.
  • MM indicates the month. The value is an integer in the range from 1 to 12.
  • DD indicates the day. The value is an integer in the range from 1 to 31.
  • T indicates the time following the year, month, and day.
  • HH indicates the hour. The value is an integer in the range from 0 to 23.
  • MM indicates the minute. The value is an integer in the range from 0 to 59.
  • SS indicates the second. The value is an integer in the range from 0 to 59.
  • + indicates the hour and minute later than the time followed by it.
  • - indicates the hour and minute earlier than the time followed by it.
  • Z indicates that the time followed by it is the time in time zone 0.

N/A

/ietf-system:system/clock/ huawei-system:daylight/daylight-name

Indicates the name of the DST time zone.

The value is a string of 1 to 32 case-sensitive characters without spaces.

N/A

/ietf-system:system/clock/ huawei-system:daylight/start-time/hour

Indicates the DST start time.

The start time is in 24-hour format HH:MM.

  • HH specifies the hour. The value is an integer in the range from 0 to 23.
  • MM indicates the minute. The value is an integer in the range from 0 to 59.

N/A

/ietf-system:system/clock/ huawei-system:daylight/start-time/week-start

Indicates the week in the DST start month.

The value is of the enumerated type:

  • first: first week
  • second: second week
  • third: third week
  • fourth: fourth week
  • fifth: fifth week
  • last: last week
  • The week-start, day-start, and month-start objects must be configured together.
  • The week-start, day-start, and month-start objects are mutually exclusive with the month object. You can set either the week-start, day-start, and month-start objects or the month object.
  • The week-start object does not support the enumerated value fifth.

/ietf-system:system/clock/ huawei-system:daylight/start-time/day-start

Indicates a day of the week in the start month.

The value is of the enumerated type:

  • Sun: Sunday
  • Mon: Monday
  • Tue: Tuesday
  • Wed: Wednesday
  • Thu: Thursday
  • Fri: Friday
  • Sat: Saturday

/ietf-system:system/clock/ huawei-system:daylight/start-time/month-start

Indicates the start month.

The value is of the enumerated type:

  • Jan
  • Feb
  • Mar
  • Apr
  • May
  • Jun
  • Jul
  • Aug
  • Sep
  • Oct
  • Nov
  • Dec

/ietf-system:system/clock/ huawei-system:daylight/start-time/month

Indicates the DST start date.

The start date is in the format MM-DD.

  • MM specifies the month. The value is an integer in the range from 1 to 12.
  • DD specifies the day. The value is an integer in the range from 1 to 31.
The week-start, day-start, and month-start objects are mutually exclusive with the month object. You can set either the week-start, day-start, and month-start objects or the month object.

/ietf-system:system/clock/ huawei-system:daylight/end-time/hour

Indicates the DST end time.

The end time is in 24-hour format HH:MM.

  • HH specifies the hour. The value is an integer in the range from 0 to 23.
  • MM indicates the minute. The value is an integer in the range from 0 to 59.

N/A

/ietf-system:system/clock/ huawei-system:daylight/end-time/week-start

Indicates the week in the end month.

The value is of the enumerated type:

  • first: first week
  • second: second week
  • third: third week
  • fourth: fourth week
  • fifth: fifth week
  • last: last week
  • The week-start, day-start, and month-start objects must be configured together.
  • The week-start, day-start, and month-start objects are mutually exclusive with the month object. You can set either the week-start, day-start, and month-start objects or the month object.
  • The week-start object does not support the enumerated value fifth.

/ietf-system:system/clock/ huawei-system:daylight/end-time/day-start

Indicates a day of the week in the end month.

The value is of the enumerated type:

  • Sun: Sunday
  • Mon: Monday
  • Tue: Tuesday
  • Wed: Wednesday
  • Thu: Thursday
  • Fri: Friday
  • Sat: Saturday

/ietf-system:system/clock/ huawei-system:daylight/end-time/month-start

Indicates the end month.

The value is of the enumerated type:

  • Jan
  • Feb
  • Mar
  • Apr
  • May
  • Jun
  • Jul
  • Aug
  • Sep
  • Oct
  • Nov
  • Dec

/ietf-system:system/clock/ huawei-system:daylight/end-time/month

Indicates the DST end date.

The end date is in the format MM-DD.

  • MM specifies the month. The value is an integer in the range from 1 to 12.
  • DD specifies the day. The value is an integer in the range from 1 to 31.
  • The week-start, day-start, and month-start objects are mutually exclusive with the month object. You can set either the week-start, day-start, and month-start objects or the month object.

  • The end month must be different from the start month.

/ietf-system:system/clock/ huawei-system:daylight/repeating-offset

Indicates the DST offset.

The offset is in 24-hour format HH:MM.

  • HH specifies the hour. The value is an integer in the range from 0 to 23.
  • MM indicates the minute. The value is an integer in the range from 0 to 59.

The DST offset must be less than or equal to 2 hours. Otherwise, an error is reported.

/ietf-system:system/clock/huawei-system:daylight/year-start

Indicates the start year.

Format: YYYY

YYYY indicates the year. The value is an integer in the range from 2000 to 2099.

  • By default, the value of year-start is 2000.

  • By default, the value of year-end is 2099.

  • The year-start and year-end objects must be configured together.

/ietf-system:system/clock/ huawei-system:daylight/year-end

Indicates the end year.

Format: YYYY

YYYY indicates the year. The value is an integer in the range from 2000 to 2099.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >