Module: Origin::Extensions::TimeWithZone

Defined in:
lib/origin/extensions/time_with_zone.rb

Overview

This module contains additional time with zone behaviour.

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#__evolve_time__Time

Evolve the time into a utc time.

Examples:

Evolve the time.

time.__evolve_time__

Returns:

  • (Time)

    The time in UTC.

Since:

  • 1.0.0



16
17
18
# File 'lib/origin/extensions/time_with_zone.rb', line 16

def __evolve_time__
  utc
end