Represents an occurrence of an event, such as an activity, period of awakening during sleep, and so on.
public class Occurrence : Microsoft.Health.ItemTypes.HealthRecordItemData
Creates a new instance of the Occurrence class with default values.
Creates a new instance of the Occurrence class with the specified approximate time and duration.
Gets or sets the duration of the occurrence in minutes.
Gets or sets the time of the occurrence.
Populates the data from the specified XML.
Writes the XML representation of the occurrence into the specified XML writer.