Method: AEMO::Time.valid_timestamp8?
- Defined in:
- lib/aemo/time.rb
permalink .valid_timestamp8?(string) ⇒ Boolean
Check if a string is a valid timestamp 8.
103 104 105 106 107 108 109 |
# File 'lib/aemo/time.rb', line 103 def (string) (string) true rescue AEMO::TimeError false end |