Module: BSON::DateTime
- Defined in:
- lib/bson/date_time.rb
Overview
Injects behaviour for encoding date time values to raw bytes as specified by the BSON spec for time.
Instance Method Summary collapse
-
#to_bson(encoded = ''.force_encoding(BINARY)) ⇒ String
Get the date time as encoded BSON.