24 25 26
# File 'lib/cassandra-model/types.rb', line 24 def self.dump(v) v && v.strftime('%FT%T%z') end
28 29 30
# File 'lib/cassandra-model/types.rb', line 28 def self.load(v) v && ::DateTime.strptime(v, '%FT%T%z') end