Sql.Net Class Library Documentation

TimePeriod Methods

The methods of the TimePeriod class are listed below. For a complete list of TimePeriod class members, see the TimePeriod Members topic.

Public Static Methods

FromDate Create a time period based on a specified date.
FromToday Creates a new TimePeriod based on today's date.
GetDifference Returns the difference in periods between two TimePeriods
Parse Creates a time period from a string.

Public Instance Methods

AddOverloaded. Adds or sutracts time periods
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetIndexInYear Returns the index in year of this TimePeriod
GetType (inherited from Object) Gets the Type of the current instance.
OffsetFromToday Returns the difference in periods between today's period and self
Serialize Serializes this TimePeriod into a string
ToString Returns a human readable representation of TimePeriod

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

TimePeriod Class | Reeb.Reporting Namespace