Server IP : 85.214.239.14 / Your IP : 18.116.19.29 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/task/3/cwd/proc/2/root/srv/modoboa/instance/sitestatic/moment/src/lib/duration/ |
Upload File : |
import { Duration } from './constructor'; var proto = Duration.prototype; import { abs } from './abs'; import { add, subtract } from './add-subtract'; import { as, asMilliseconds, asSeconds, asMinutes, asHours, asDays, asWeeks, asMonths, asYears, valueOf } from './as'; import { bubble } from './bubble'; import { clone } from './clone'; import { get, milliseconds, seconds, minutes, hours, days, months, years, weeks } from './get'; import { humanize } from './humanize'; import { toISOString } from './iso-string'; import { lang, locale, localeData } from '../moment/locale'; import { isValid } from './valid'; proto.isValid = isValid; proto.abs = abs; proto.add = add; proto.subtract = subtract; proto.as = as; proto.asMilliseconds = asMilliseconds; proto.asSeconds = asSeconds; proto.asMinutes = asMinutes; proto.asHours = asHours; proto.asDays = asDays; proto.asWeeks = asWeeks; proto.asMonths = asMonths; proto.asYears = asYears; proto.valueOf = valueOf; proto._bubble = bubble; proto.clone = clone; proto.get = get; proto.milliseconds = milliseconds; proto.seconds = seconds; proto.minutes = minutes; proto.hours = hours; proto.days = days; proto.weeks = weeks; proto.months = months; proto.years = years; proto.humanize = humanize; proto.toISOString = toISOString; proto.toString = toISOString; proto.toJSON = toISOString; proto.locale = locale; proto.localeData = localeData; // Deprecations import { deprecate } from '../utils/deprecate'; proto.toIsoString = deprecate('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', toISOString); proto.lang = lang;