DurationProperties duration;
if (argumentCount == 0)
- duration= converter.getDurationPropertis(JSValueMakeUndefined(context));
+ duration= converter.getDurationProperties(JSValueMakeUndefined(context));
else
- duration= converter.getDurationPropertis(arguments[0]);
+ duration= converter.getDurationProperties(arguments[0]);
LoggerD("unit : " << duration.unit << " Length:" << duration.length);
TZDatePrivObject* privateObject = static_cast<TZDatePrivObject*>(JSObjectGetPrivate(thisObject));