DataAnalysisTimeIntervalUnitType

Values

CurrentDay
CurrentHalfYear
CurrentHour
CurrentMinute
CurrentMonth
CurrentQuarter
CurrentTenDays
CurrentWeek
CurrentYear
Day
HalfYear
Hour
Minute
Month
Quarter
Second
TenDays
Week
Year

Description:

Contains variants of time interval unit types. The time interval value is determined on the basis of the specified time value taking the ratio into account.
All time interval unit types belong to one of the two groups. The first group includes types that have the prefix "Current" in their names, and the second group contains all other types.
For the first group the beginning of the interval is defined as the first second of the point in time, and the end of the interval is defined as the last second of the point in time that is defined in accordance with the selected type and specified ratio. For example, for a CurrentHour type with a ratio of 2 (hours) and a specified point in time 12.05.2004 12:34:11, the interval will begin at 12.05.2004 10:00:00 and end at 12.05.2004 13:59:59.
For the second group the beginning of the interval is defined as a point in time that is calculated as the difference in seconds between the values of the current point in time and the ratio. The end of interval is a point in time, which is calculated by adding the ratio in seconds to the specified point in time. For example, for a CurrentMinute type with a ratio of 4 (minutes) and the specified point in time 12.05.2004 12:34:11, the interval will begin at 12.05.2004 12:30:11 and end at 12.05.2004 12:38:11.

Availability:

Thin client, web-client, server, thick client, external connection.
Exchange with server is possible. Serializable. Can be used in attributes of managed form. The given object may be serialized to/from XDTO. The XDTO type correspoding to this object is defined in {http://v8.1c.ru/8.2/data/data-analysis} namespace. XDTO type name: DataAnalysisTimeIntervalUnitType.

    

1C:Enterprise Developer's Community