Module com.wyu4.snowberryjam
Class TimeHolder
java.lang.Object
com.wyu4.snowberryjam.compiler.data.values.ValueHolder
com.wyu4.snowberryjam.compiler.data.values.builtin.TimeHolder
- All Implemented Interfaces:
BuiltInHolder
Value Holder that provides time resources.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.wyu4.snowberryjam.compiler.data.values.ValueHolder
checkValueIsConditional, equals, fromNode, getArray, getPointer, getSize, getString, isType, notEmpty, superEquals
-
Constructor Details
-
TimeHolder
public TimeHolder()
-
-
Method Details
-
getValue
Description copied from class:ValueHolderGet the value being pointed to casted as anObject. The contents being returned by this method are mutable.- Overrides:
getValuein classValueHolder- Returns:
- The current time since the midnight of January 1, 1970 UTC, in milliseconds
- See Also:
-
getId
Description copied from class:ValueHolderGet the ID of the value holder- Overrides:
getIdin classValueHolder- Returns:
SourceId.TIME
-
getType
Description copied from class:ValueHolderGet the type being pointed to- Overrides:
getTypein classValueHolder- Returns:
- Always returns
Double - See Also:
-
toString
- Overrides:
toStringin classValueHolder
-