Funicular::DB::Codec module of PicoRuby
Singleton methods
civil_from_days
Funicular::DB::Codec.civil_from_days(Integer days) -> Array[Integer]
days_from_civil
Funicular::DB::Codec.days_from_civil(Integer y, Integer m, Integer d) -> Integer
days_in_month
Funicular::DB::Codec.days_in_month(Integer year, Integer mon) -> Integer
decode
Funicular::DB::Codec.decode(Symbol? `type`, untyped value) -> untyped
digits_at
Funicular::DB::Codec.digits_at(String str, Integer pos, Integer len) -> Integer
encode
Funicular::DB::Codec.encode(Symbol? `type`, untyped value) -> untyped
encode_bind
Funicular::DB::Codec.encode_bind(untyped value) -> untyped
iso_to_time
Funicular::DB::Codec.iso_to_time(String str) -> Time
sep_at
Funicular::DB::Codec.sep_at(String str, Integer pos, Integer code) -> void
time_to_iso
Funicular::DB::Codec.time_to_iso(Time time) -> String
zone_offset
Funicular::DB::Codec.zone_offset(String str, Integer pos) -> Integer
zpad
Funicular::DB::Codec.zpad(Integer n, Integer width) -> String