Version

DateTimeLevelCreationFlags Enumeration

Flagged enumeration which determines the manner in which levels are generated for hierarchies associated with the System.DateTime data type.
Syntax
'Declaration
 
Public Enum DateTimeLevelCreationFlags 
   Inherits System.Enum
public enum DateTimeLevelCreationFlags : System.Enum 
Members
MemberDescription
DateA level is generated which corresponds to an exact date.
MonthA level is generated which groups a date according to the month in which it falls.
NoneNo date-specific levels are generated. The manner in which DateTime levels are generated is determined by the value of the GenerateAllMembersLevel property.
QuarterA level is generated which groups the dates according to which quarter of the year it belongs. The date ranges for the four quarters are as follows:
  • January 1 thru March 31
  • April 1 thru June 30
  • July 1 thru September 30
  • October 1 thru December 31
SemesterA level is generated which groups a date according to which half of the year it belongs. Dates which fall in the range of January 1st thru June 30 are separated from dates which fall in the range of July 1st thru December 31.
YearA level is generated for the year component of the date.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also