ASP.NET Pack Programmer's Guide
TimeSpans Members
Fields Methods
 


Defines commonly used time spans to save memory allocations.

The following tables list the members exposed by the TimeSpans type.

 Public Fields

  Name Description

Day

Represents a time span of one day.

Hour

Represents a time span of one hour.

MinusDay

Represents a time span of minus one day.

MinusWeek

Represents a time span of minus one week.

Minute

Represents a time span of one minute.

Second

Represents a time span of one second.

Tick

Represents a time span of one tick.

Week

Represents a time span of one week.

 Public Methods

  Name Description

FromDays

Initializes a new instance of the TimeSpan class that represents the specified amount of days.

FromHours

Initializes a new instance of the TimeSpan class that represents the specified amount of hours.

FromMinutes

Initializes a new instance of the TimeSpan class that represents the specified amount of minutes.

FromSeconds

Initializes a new instance of the TimeSpan class that represents the specified amount of seconds.

 See Also

TimeSpans Class
MindFusion.Scheduling Namespace