public class UpdateInfo extends Object
Information about rate of updates to a podcast feed.
Aggregates data from Syndication and RawVoice namespace elements.
| Constructor and Description |
|---|
UpdateInfo() |
| Modifier and Type | Method and Description |
|---|---|
ZonedDateTime |
getBase()
Defines a base date to be used in concert with updatePeriod and
updateFrequency to calculate the publishing schedule.
|
Integer |
getFrequency()
Used to describe the frequency of updates in relation to the update
period.
|
String |
getPeriod()
Describes the period over which the channel format is updated.
|
void |
setBase(ZonedDateTime base) |
void |
setFrequency(int frequency) |
void |
setPeriod(String period) |
String |
toString() |
public Integer getFrequency()
Used to describe the frequency of updates in relation to the update period. A positive integer indicates how many times in that period the channel is updated. For example, an updatePeriod of daily, and an updateFrequency of 2 indicates the channel format is updated twice daily. If omitted a value of 1 is assumed.
Part of Syndication namespace specification.
Integer or nullpublic void setFrequency(int frequency)
public String getPeriod()
Describes the period over which the channel format is updated. Acceptable values are: hourly, daily, weekly, monthly, yearly. If omitted, daily is assumed.
Part of Syndication namespace specification.
Integer or nullpublic void setPeriod(String period)
public ZonedDateTime getBase()
Defines a base date to be used in concert with updatePeriod and updateFrequency to calculate the publishing schedule. The date format takes the form: yyyy-mm-ddThh:mm
Part of Syndication namespace specification.
ZonedDateTime or nullpublic void setBase(ZonedDateTime base)
Copyright © 2018. All rights reserved.