DateTimeConverter

Converts DateTime objects to and from Java long types. Must be timezone UTC.

Constants

  • DATETIME_FORMAT

Methods

.convert_type

+ show/hide code

.db_type

+ show/hide code
.to_db

Converts the given DateTime (UTC) value to an Integer. DateTime values are automatically converted to UTC.

+ show/hide code

.to_ruby

+ show/hide code