public class StartOrEndTime extends Object
Java class for StartOrEndTime complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StartOrEndTime"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="dayOfWeek" type="{http://www.arinc424.com/xml/enumerations}DayOfWeek" minOccurs="0"/> <element name="time" type="{http://www.w3.org/2001/XMLSchema}time" minOccurs="0"/> <element name="relativeTimeIndicator" type="{http://www.arinc424.com/xml/enumerations}RelativeTimeIndicator" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected DayOfWeek |
dayOfWeek
This field supports specifying a continuous time interval across multiple days.
|
protected RelativeTimeIndicator |
relativeTimeIndicator
This field supports specifying the StartOrEndTime as an offset from sunrise or sunset.
|
protected XMLGregorianCalendar |
time
This field represents the start or end time of the TimeOfOperationInterval.
|
Constructor and Description |
---|
StartOrEndTime() |
Modifier and Type | Method and Description |
---|---|
DayOfWeek |
getDayOfWeek()
Gets the value of the dayOfWeek property.
|
RelativeTimeIndicator |
getRelativeTimeIndicator()
Gets the value of the relativeTimeIndicator property.
|
XMLGregorianCalendar |
getTime()
Gets the value of the time property.
|
void |
setDayOfWeek(DayOfWeek value)
Sets the value of the dayOfWeek property.
|
void |
setRelativeTimeIndicator(RelativeTimeIndicator value)
Sets the value of the relativeTimeIndicator property.
|
void |
setTime(XMLGregorianCalendar value)
Sets the value of the time property.
|
protected DayOfWeek dayOfWeek
protected XMLGregorianCalendar time
protected RelativeTimeIndicator relativeTimeIndicator
public DayOfWeek getDayOfWeek()
This field supports specifying a continuous time interval across multiple days. It should not be used if the "dayOfWeek" in TimeOfOperationInterval is specified. If used, it should be specified for both start and end times, and they should be different otherwise the TimeOfOperationInterval field should be used.
DayOfWeek
public void setDayOfWeek(DayOfWeek value)
value
- allowed object is
DayOfWeek
getDayOfWeek()
public XMLGregorianCalendar getTime()
This field represents the start or end time of the TimeOfOperationInterval. A timezone may be set for this field, in which case the time is specified in the local timezone. If no timezone is set, UTC is assumed. If a timezone is set indicating a local time, it should be the same for both start and end times, and the "adjustForDST" field in the enclosing TimesOfOperation instance may be set to indicate that the time follows daylight saving time in accordance with the local DST calendar.
XMLGregorianCalendar
public void setTime(XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
getTime()
public RelativeTimeIndicator getRelativeTimeIndicator()
This field supports specifying the StartOrEndTime as an offset from sunrise or sunset. In this case, the "time" field is just the offset amount such as 01:00:00 or 00:30:00. If used, there should be no timezone set in the "time" field.
RelativeTimeIndicator
public void setRelativeTimeIndicator(RelativeTimeIndicator value)
value
- allowed object is
RelativeTimeIndicator
getRelativeTimeIndicator()
Copyright © 2020. All rights reserved.