long long convertDurationLength(DurationProperties duration, short unit);
std::time_t toTZDateTimeT(JSValueRef arg);
std::time_t toTZDateTimeT(JSObjectRef arg);
+ tm toTZDateTime(JSValueRef arg);
+ tm toTZDateTime(JSObjectRef arg);
JSObjectRef FromUTCTimeTToTZDate(std::time_t utcTime, const std::string &timezone);
};