Class: OdeonUk::Internal::Parser::Api::PerformanceDay::TimeParser Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/odeon_uk/internal/parser/api/performance_day.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

parse a time to utc time

Instance Method Summary collapse

Instance Method Details

#to_utcObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



60
61
62
# File 'lib/odeon_uk/internal/parser/api/performance_day.rb', line 60

def to_utc
  tz.local_to_utc(parsed_time)
end