DateTimeExt extension

DateTime extension methods.

on

Methods

toTimestamp(TimeUnit unit) int
Format DateTime to timestamp.