Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%DeepSee] >  [Time] >  [Hijri] >  [QuarterYear]
Private  Storage   

class %DeepSee.Time.Hijri.QuarterYear extends %DeepSee.Time.AbstractLevel

This class implements a Quarter level within a time dimension. This represents a quarter (3 month period) within a specific year.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 8


Summary

Methods
%AddToSaveSet %BaseRangeToKey %ClassIsLatestVersion %ClassName
%ConstructClone %Convert %Count %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Extends %FormatToZDTCode
%GetAllMembers %GetCalendar %GetDimType %GetLevelMembers
%GetName %GetNthKey %GetOptionList %GetParameter
%GetPeriodLength %GetRelatedKey %IsA %IsIndependent
%IsModified %KeyToBaseRange %KeyToValue %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %SupportsNOW
%ValidateObject %ValueToKey


Parameters

• parameter CALENDAR = "hijriTabular";
• parameter DIMTYPE = "quarter";
Type reported back to the UI. This determines what type of control to display for filters based on this class.

Methods

• classmethod %Convert(pTime As %DeepSee.Datatype.dateTime, pOffset As %String = "") as %Integer
Convert a $H value to the logical value used for this level. This is used within the computed field logic for properties within a fact table based on this level.
. In this case, we convert $H to a logical year+quarter number: That is, Year+Quarter in the form YYYYQ
• classmethod %GetLevelMembers(Output pList As %List, pCube As %String, pFact As %String, pStartRange As %Date, pEndRange As %Date, pTimeOffset As %String = "", pFormat As %String = "") as %Status
Return an array of members of this level.
• classmethod %GetName() as %String
Return the user-visible name of this level.
• classmethod %GetRelatedKey(Output pRelatedKey As %String, pCube As %String, pFact As %String, pKey As %String, pRelation As %String, pOffset As %Integer = "", pEndKey As %String = "", pTimeOffset As %String = "") as %Status
Return, via pRelatedKey a key within this level related to pKey.
• classmethod %KeyToBaseRange(pKey As %String, Output pStart As %Date, Output pEnd As %Date, pOffset As %String = "") as %Status
Convert a year value (year number) into starting and ending base values (in $H format).
• classmethod %KeyToValue(pKey As %Integer, pFormat As %String = "", pTimeOffset As %String = "") as %String
Convert a level key value to a display value. Q1 2008
• classmethod %SupportsNOW() as %Boolean
Return true if this level supports a NOW member.
• classmethod %ValueToKey(pValue As %String, pFormat As %String = "", pOffset As %String = "") as %Integer
Convert a level display value (Qn YYYY) to its corresponding key value. Return "" if there is no corresponding key.


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.