add constructors to get an instance from a time stamp
add checks to ensure the consistency of the all-day flag
add null check to fix issue #1
add another parse method that can automatically apply a time zone
fix license header (was GPL but should be Apache 2)
add/fix license headers (changed from GPL to Apache 2)