Modifier and Type | Method and Description |
---|---|
static TimeSpan |
EwsUtilities.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.
|
Modifier and Type | Method and Description |
---|---|
static String |
EwsUtilities.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/#duration
|
static String |
EwsUtilities.timeSpanToXSTime(TimeSpan timeSpan)
Time span to xs time.
|
Modifier and Type | Method and Description |
---|---|
TimeSpan |
MeetingRequest.getDuration()
Gets the duration of this appointment.
|
TimeSpan |
Appointment.getDuration()
Gets the duration of this appointment.
|
Modifier and Type | Field and Description |
---|---|
static TimeSpan |
TimeSpan.MAX_VALUE
Represents the Maximum TimeSpan value.
|
static TimeSpan |
TimeSpan.MIN_VALUE
Represents the Minimum TimeSpan value.
|
static TimeSpan |
TimeSpan.ZERO
Represents the TimeSpan with a value of zero.
|
Modifier and Type | Method and Description |
---|---|
TimeSpan |
TimeSpan.duration()
Returns a TimeSpan whose value is the absolute value of this TimeSpan.
|
TimeSpan |
TimeSpan.negate()
Returns a TimeSpan whose value is the negated value of this TimeSpan.
|
static TimeSpan |
TimeSpan.parse(String s) |
static TimeSpan |
TimeSpan.subtract(Date date1,
Date date2)
Subtracts two Date objects creating a new TimeSpan object.
|
Modifier and Type | Method and Description |
---|---|
void |
TimeSpan.add(TimeSpan timespan)
Adds a TimeSpan to this TimeSpan.
|
static int |
TimeSpan.compare(TimeSpan first,
TimeSpan second)
Compares two TimeSpan objects.
|
int |
TimeSpan.compareTo(TimeSpan o)
Compares this object with the specified object for order.
|
void |
TimeSpan.subtract(TimeSpan timespan)
Subtracts a TimeSpan from this TimeSpan.
|
Modifier and Type | Method and Description |
---|---|
TimeSpan |
MeetingTimeZone.getBaseOffset()
Gets the base offset of the time zone from the UTC time zone.
|
TimeSpan |
TimeChange.getOffset()
Gets the offset since the beginning of the year when the change occurs.
|
Modifier and Type | Method and Description |
---|---|
void |
MeetingTimeZone.setBaseOffset(TimeSpan value)
Sets the base offset.
|
void |
TimeChange.setOffset(TimeSpan offset)
Sets the offset since the beginning of the year when the change occurs.
|
Constructor and Description |
---|
TimeChange(TimeSpan offset)
Initializes a new instance of the
|
TimeChange(TimeSpan offset,
Time time)
Initializes a new instance of the "TimeChange" class.
|
Modifier and Type | Method and Description |
---|---|
protected TimeSpan |
TimeZoneTransitionGroup.CustomTimeZoneCreateParams.getBaseOffsetToUtc()
Gets the base offset to UTC.
|
protected TimeSpan |
TimeZonePeriod.getBias()
Gets the bias to UTC associated with this period.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TimeZoneTransitionGroup.CustomTimeZoneCreateParams.setBaseOffsetToUtc(TimeSpan baseOffsetToUtc)
Sets the base offset to utc.
|
protected void |
TimeZonePeriod.setBias(TimeSpan bias)
Sets the bias.
|
Modifier and Type | Method and Description |
---|---|
protected TimeSpan |
TimeSpanPropertyDefinition.parse(String value)
Parses the specified value.
|
Modifier and Type | Method and Description |
---|---|
protected String |
TimeSpanPropertyDefinition.toString(TimeSpan value)
Convert instance to string.
|
Copyright © 2012–2015 Microsoft. All rights reserved.