Uses of Class
microsoft.exchange.webservices.data.misc.TimeSpan
-
-
Uses of TimeSpan in microsoft.exchange.webservices.data.core
Methods in microsoft.exchange.webservices.data.core that return TimeSpan Modifier and Type Method Description static TimeSpanEwsUtilities. getXSDurationToTimeSpan(String xsDuration)Takes an xs:duration string as defined by the W3 Consortiums Recommendation "XML Schema Part 2: Datatypes Second Edition", http://www.w3.org/TR/xmlschema-2/#duration, and converts it into a System.TimeSpan structure This method uses the following approximations: 1 year = 365 days 1 month = 30 days Additionally, it only allows for four decimal points of seconds precision.Methods in microsoft.exchange.webservices.data.core with parameters of type TimeSpan Modifier and Type Method Description static StringEwsUtilities. getTimeSpanToXSDuration(TimeSpan timeOffset)Takes a System.TimeSpan structure and converts it into an xs:duration string as defined by the W3 Consortiums Recommendation "XML Schema Part 2: Datatypes Second Edition", http://www.w3.org/TR/xmlschema-2/#durationstatic StringEwsUtilities. timeSpanToXSTime(TimeSpan timeSpan)Time span to xs time. -
Uses of TimeSpan in microsoft.exchange.webservices.data.core.service.item
Methods in microsoft.exchange.webservices.data.core.service.item that return TimeSpan Modifier and Type Method Description TimeSpanAppointment. getDuration()Gets the duration of this appointment.TimeSpanMeetingRequest. getDuration()Gets the duration of this appointment. -
Uses of TimeSpan in microsoft.exchange.webservices.data.misc
Fields in microsoft.exchange.webservices.data.misc declared as TimeSpan Modifier and Type Field Description static TimeSpanTimeSpan. MAX_VALUERepresents the Maximum TimeSpan value.static TimeSpanTimeSpan. MIN_VALUERepresents the Minimum TimeSpan value.static TimeSpanTimeSpan. ZERORepresents the TimeSpan with a value of zero.Methods in microsoft.exchange.webservices.data.misc that return TimeSpan Modifier and Type Method Description TimeSpanTimeSpan. duration()Returns a TimeSpan whose value is the absolute value of this TimeSpan.TimeSpanTimeSpan. negate()Returns a TimeSpan whose value is the negated value of this TimeSpan.static TimeSpanTimeSpan. parse(String s)static TimeSpanTimeSpan. subtract(Date date1, Date date2)Subtracts two Date objects creating a new TimeSpan object.Methods in microsoft.exchange.webservices.data.misc with parameters of type TimeSpan Modifier and Type Method Description voidTimeSpan. add(TimeSpan timespan)Adds a TimeSpan to this TimeSpan.static intTimeSpan. compare(TimeSpan first, TimeSpan second)Compares two TimeSpan objects.intTimeSpan. compareTo(TimeSpan o)Compares this object with the specified object for order.voidTimeSpan. subtract(TimeSpan timespan)Subtracts a TimeSpan from this TimeSpan. -
Uses of TimeSpan in microsoft.exchange.webservices.data.property.complex
Methods in microsoft.exchange.webservices.data.property.complex that return TimeSpan Modifier and Type Method Description TimeSpanMeetingTimeZone. getBaseOffset()Gets the base offset of the time zone from the UTC time zone.TimeSpanTimeChange. getOffset()Gets the offset since the beginning of the year when the change occurs.Methods in microsoft.exchange.webservices.data.property.complex with parameters of type TimeSpan Modifier and Type Method Description voidMeetingTimeZone. setBaseOffset(TimeSpan value)Sets the base offset.voidTimeChange. setOffset(TimeSpan offset)Sets the offset since the beginning of the year when the change occurs.Constructors in microsoft.exchange.webservices.data.property.complex with parameters of type TimeSpan Constructor Description TimeChange(TimeSpan offset)Initializes a new instance of theTimeChangeclass.TimeChange(TimeSpan offset, Time time)Initializes a new instance of the "TimeChange" class. -
Uses of TimeSpan in microsoft.exchange.webservices.data.property.complex.time
Methods in microsoft.exchange.webservices.data.property.complex.time that return TimeSpan Modifier and Type Method Description protected TimeSpanTimeZoneTransitionGroup.CustomTimeZoneCreateParams. getBaseOffsetToUtc()Gets the base offset to UTC.protected TimeSpanTimeZonePeriod. getBias()Gets the bias to UTC associated with this period.Methods in microsoft.exchange.webservices.data.property.complex.time with parameters of type TimeSpan Modifier and Type Method Description protected voidTimeZoneTransitionGroup.CustomTimeZoneCreateParams. setBaseOffsetToUtc(TimeSpan baseOffsetToUtc)Sets the base offset to utc.protected voidTimeZonePeriod. setBias(TimeSpan bias)Sets the bias. -
Uses of TimeSpan in microsoft.exchange.webservices.data.property.definition
Methods in microsoft.exchange.webservices.data.property.definition that return TimeSpan Modifier and Type Method Description protected TimeSpanTimeSpanPropertyDefinition. parse(String value)Parses the specified value.Methods in microsoft.exchange.webservices.data.property.definition with parameters of type TimeSpan Modifier and Type Method Description protected StringTimeSpanPropertyDefinition. toString(TimeSpan value)Convert instance to string.
-