new TimeToLive(value, unit) → {TimeToLive}
Parameters:
Name | Type | Description |
---|---|---|
value |
a duration value | |
unit |
a unit of times either HOURS or DAYS |
Returns:
- Type
- TimeToLive
Name | Type | Description |
---|---|---|
value |
a duration value | |
unit |
a unit of times either HOURS or DAYS |