Click or drag to resize

TimePeriod Class

IT Hit WebDAV Classes Reference
Represents a time period.
Inheritance Hierarchy
SystemObject
  ITHit.Collab.CalendarTimePeriod

Namespace:  ITHit.Collab.Calendar
Assembly:  ITHit.Collab (in ITHit.Collab.dll) Version: 1.0.0.540 (1.0.0.540)
Syntax
public class TimePeriod

The TimePeriod type exposes the following members.

Constructors
  NameDescription
Public methodTimePeriod(Date, Date)
Initializes a new instance of the TimePeriod class using Date values.
Public methodTimePeriod(Date, NullableTimeSpan)
Initializes a new instance of the TimePeriod class using start Date value and duration.
Top
Properties
  NameDescription
Public propertyDuration
Gets period duration or null if End is spesified or value can not be parsed.
Public propertyEnd
Gets end of the period of time or null if Duration is specified or value can not be parsed.
Public propertyStart
Gets start of the period of time or null if the start time can not be parsed.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse
Creates TimePeriod from string.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberTryParse
Creates TimePeriod from string, returns true if parsing was succesefull, false otherwise.
Top
Remarks
A valid object of this type contain either start and end date/date-time values or start date/date-time value and a duration.
See Also