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

- (Time) __evolve_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