Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / TimePeriod Enumeration
Example Example


In This Topic
    TimePeriod Enumeration
    In This Topic
    Represents a time period which is used in a date conditional formatting rule. These are dynamic time periods, which change based on the date when the conditional formatting rule is refreshed or applied.
    Syntax
    'Declaration
     
    
    Public Enum TimePeriod 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As TimePeriod
    public enum TimePeriod : System.Enum 
    Members
    MemberDescription
    Last7DaysIndicates a date in the last seven days.
    LastMonthIndicates a date that occurred in the last calendar month.
    LastWeekIndicates a date that occurred last week.
    NextMonthIndicates a date that occurs in the next calendar month.
    NextWeekIndicates a date that occurs next week.
    ThisMonthIndicates a date that occurs in this calendar month.
    ThisWeekIndicates a date that occurs this week.
    TodayIndicates today's date.
    TomorrowIndicates tomorrow's date.
    YesterdayIndicates yesterday's date.
    Example
    This example sets the TimePeriod enumeration.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             FarPoint.Web.Spread.TimePeriod

    See Also