Added possibility to parse from js format (-00).
Renamed parse_from_db_literal to parse