123456789_123456789_123456789_123456789_123456789_

Class: ActiveSupport::TimeWithZone

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: Object
Defined in: (unknown)

Overview

External Gem class mixins

Class Method Summary

::Mongoid::Criteria::Queryable::Extensions::TimeWithZone::ClassMethods - Extended

evolve

Evolve the object to an date.

::Mongoid::Extensions::TimeWithZone::ClassMethods - Extended

demongoize

Convert the object from its mongo friendly ruby type to this type.

mongoize

Turn the object from the ruby type we deal with to a Mongo friendly type.

Instance Method Summary

::Mongoid::Criteria::Queryable::Extensions::TimeWithZone - Included

#__evolve_date__

Evolve the time as a date, UTC midnight.

#__evolve_time__

Evolve the time into a utc time.

::Mongoid::Extensions::TimeWithZone - Included

#__mongoize_time__

Mongoizes an TimeWithZone into a time.

#_bson_to_i

This code is copied from ::Time class extension in bson-ruby gem.

#mongoize

Turn the object from the ruby type we deal with to a Mongo friendly type.