QuteDataFrequency
A description of a frequency e.g. "once", which may include an interval that this is repeated for.
Examples:
- once per day
- once per hour
- 3 times per day
recurs=true: once every dayovercharge=true: once per day, plus overchargeinterval=2: once per 2 days
Attributes
Permalinkinterval, notes, overcharge, recurs, unit, value
interval
PermalinkThe interval that the frequency is repeated for
notes
PermalinkAny notes associated with the frequency. May include a custom string, for frequencies which cannot be represented using the normal parts. If this is present, then the other parameters will be null.
overcharge
PermalinkWhether there's an overcharge involved. Used for wands mostly. In the default representation, this adds ", plus overcharge".
recurs
PermalinkWhether the unit recurs. In the default representation, this makes it render "every" instead of "per"
unit
PermalinkThe unit the frequency is in, string. Required.
value
PermalinkThe number represented by the frequency, integer