public GetMonthImpl ( JsDictionaryObject target, |
||
target | JsDictionaryObject | |
parameters | ||
Результат |
public JsInstance GetMonthImpl(JsDictionaryObject target, JsInstance[] parameters)
{
if (double.IsNaN(target.ToNumber())) {
return Global.NaN;
}
return Global.NumberClass.New(CreateDateTime(target.ToNumber()).ToLocalTime().Month - 1);
}