static Timestamp toTimestamp(long time) { ret time == 0 ? null : Timestamp(time); }