Method: Time#sys
- Defined in:
- lib/openc3/core_ext/time.rb
#sys ⇒ Object
Set the Time object to be either a UTC or local time depending on the use_utc flag.
103 104 105 106 107 108 109 |
# File 'lib/openc3/core_ext/time.rb', line 103 def sys if @@use_utc self.utc else self.localtime end end |