Home > Class Reference > ENSLIB namespace > %DeepSee.Age.Days

%DeepSee.Age.Days

class %DeepSee.Age.Days extends %DeepSee.Age.AbstractLevel

This class implements an age-in-days level within a age dimension.

Method Inventory

Methods

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 age relative to a reference date.
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.
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 %KeyToBaseRange(pKey As %String, Output pStart As %Date, Output pEnd As %Date, pOffset As %String = "") as %Status [ Language = objectscript ]
Convert age in days to start/end value.
classmethod %KeyToValue(pKey As %Integer, pFormat As %String = "", pOffset As %String = "") as %String [ Language = objectscript ]
Convert a level key value to a display value.
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