unit property

String? unit
getter/setter pair

The unit used for the duration Possible string values are:

  • "UNIT_UNSPECIFIED" : Default value, reserved as an invalid or an unexpected value.
  • "MONTH" : Unit of a calendar month.
  • "DAY" : Unit of a day.
  • "HOUR" : Unit of an hour. It is used for testing.

Implementation

core.String? unit;