Class: VORuby::STC::V1_30::TimeUnitType

Inherits:
UnitType show all
Defined in:
lib/voruby/stc/1.30/stc.rb

Overview

Time units may be second (s), hour (h: 3600 s), day (d: 86400 s), Julian year (a, yr: 365.25 d), Julian century (cy: 36525 d), or empty (i.e., dimensionless) for ISO-8601 format.

Instance Attribute Summary

Attributes inherited from Enumeration

#choices, #value

Class Method Summary collapse

Methods inherited from Enumeration

#==, #initialize, #to_s

Constructor Details

This class inherits a constructor from Enumeration

Class Method Details

.choicesObject



23
# File 'lib/voruby/stc/1.30/stc.rb', line 23

def self.choices; ['s', 'h', 'd', 'a', 'yr', 'cy', ''] end