class Mappings::DurationValue
- Mappings::DurationValue
- Mappings::Mapping
- Reference
- Object
Overview
A duration slot value.
- year [
Int64
] : Number of years in the duration. - quarters [
Int64
] : Number of quarters in the duration. - months [
Int64
] : Number of months in the duration. - weeks [
Int64
] : Number of weeks in the duration. - days [
Int64
] : Number of days in the duration. - hours [
Int64
] : Number of hours in the duration. - minutes [
Int64
] : Number of minutes in the duration. - seconds [
Int64
] : Number of seconds in the duration. - precision [
SnipsPrecision
] : Precision of the resolved value.
Defined in:
bindings/mappings.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #data : DataType
- #data=(data : DataType)
- #days
- #hours
- #minutes
- #months
- #precision
- #quarters
- #seconds
- #to_unsafe
- #weeks
- #year
Macro Summary
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.