Sql.Net Class Library Documentation

TimePeriod Members

TimePeriod overview

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 Properties

PeriodStartDate Returns the start date of this TimePeriod
PeriodType Returns the type of this TimePeriod

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