このメソッドは、asHours、asMonths、asYearsなどに使用されるメソッドの代替です。
moment.duration().as(String);
var d = moment.duration(500, 'days').as('days');
ユニット