Method: AEMO::Time.valid_timestamp12?
- Defined in:
- lib/aemo/time.rb
.valid_timestamp12?(string) ⇒ Boolean
Check if a string is a valid timestamp 12.
91 92 93 94 95 96 97 |
# File 'lib/aemo/time.rb', line 91 def (string) (string) true rescue AEMO::TimeError false end |