%DeepSee.Time.DayNumber
class %DeepSee.Time.DayNumber extends %DeepSee.Time.AbstractLevel
This class implements a Day number level within a time dimension. This is the day of the month independent of year (1 through 31).Method Inventory (Including Private)
- %Convert()
- %Count()
- %GetLevelMembers()
- %GetName()
- %GetRelatedKey()
- %IsIndependent()
- %KeyToBaseRange()
- %KeyToValue()
- %SupportsNOW()
- %ValueToKey()
Methods (Including Private)
classmethod %Convert(pTime As %DeepSee.Datatype.dateTime, pTimeOffset As %String = "") as %Integer [ Language = objectscript ]
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 day-of-month period number: That is convert to a number one through 31.
. In this case, we convert $H to a day-of-month period number: That is convert to a number one through 31.
classmethod %Count(pCube As %String, pDimNo As %Integer, pHierNo As %Integer, pLevelNo As %Integer) as %Integer [ Language = objectscript ]
Return the total number of members within this level.
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 [ Language = objectscript ]
Return an array of members of this level.
As this dimension is independent of year, we use Jan 2000 as the basis of calculations.
As this dimension is independent of year, we use Jan 2000 as the basis of calculations.
classmethod %GetName() as %String [ Language = objectscript ]
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 [ Language = objectscript ]
Return, via pRelatedKey a key within this level
related to pKey.
classmethod %IsIndependent() as %Boolean [ Language = objectscript ]
Return true if this time level is independent of the actual date.
classmethod %KeyToBaseRange(pKey As %String, Output pStart As %Date, Output pEnd As %Date, pOffset As %String = "") as %Status [ Language = objectscript ]
Convert a day-of-month number into starting and ending
base values (in $H format).
As this dimension is independent of year, we use year 2000 as the basis of calculations.
As this dimension is independent of year, we use year 2000 as the basis of calculations.
classmethod %KeyToValue(pKey As %Integer, pFormat As %String = "", pOffset As %String = "") as %String [ Language = objectscript ]
Convert a level key value to a display value.
E.g., 1 or 30
classmethod %SupportsNOW() as %Boolean [ Language = objectscript ]
Return true if this level supports a NOW member.
classmethod %ValueToKey(pValue As %String, pFormat As %String = "", pOffset As %String = "") as %Integer [ Language = objectscript ]
Convert a level display value to its corresponding key value.
Return "" if there is no corresponding key.
Inherited Members
Inherited Methods (Including Private)
- %AddToSaveSet()
- %BaseRangeToKey()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %ConstructCloneInit()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %FormatToZDTCode()
- %GetAllMembers()
- %GetCalendar()
- %GetDimType()
- %GetNthKey()
- %GetOptionList()
- %GetParameter()
- %GetPeriodLength()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToSaveSet()
- %OnClose()
- %OnConstructClone()
- %OnNew()
- %OnValidateObject()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()