import moment from 'moment' ; export const DATE_DISPLAY_FORMATS = { shortDate : 'l' , shortTime : 'LT' , shortDateTime : 'l LT' , shortDateTimeSeconds : 'l LTS' , date : 'll' , time : 'LT' , dateTime : 'lll' , dateTimeSeconds : 'll LTS' , dateMonth : 'MMM YYYY' , dateYear : 'YYYY' , fullDate : 'ddd, ll Z [(]zz[)]' , fullTime : 'LT Z [(]zz[)]' , fullDateTime : 'llll Z [(]zz[)]' , fullDateMonth : 'MMM YYYY Z [(]zz[)]' , fullDateYear : 'YYYY Z [(]zz[)]' , localeDate : 'L' , localeDateTime : 'L LT' , localeTime : 'LT' , timezoneDate : 'L Z' , timezoneDateTime : 'L LT Z' , timezoneDateTimeSeconds : 'L LTS Z' , timezoneTime : 'LT Z' , timezoneDateMonth : 'MMM YYYY Z' , timezoneDateYear : 'YYYY Z' , locale : 'LLL' , shortLocale : 'LL' , fullLocale : 'LLLL' } ; export const DATE_DISPLAY_INPUT_FORMATS = [ DATE_DISPLAY_FORMATS . dateTime , DATE_DISPLAY_FORMATS . dateTimeSeconds , DATE_DISPLAY_FORMATS . date , DATE_DISPLAY_FORMATS . time , DATE_DISPLAY_FORMATS . shortDateTime , DATE_DISPLAY_FORMATS . shortDateTimeSeconds , DATE_DISPLAY_FORMATS . shortDate , DATE_DISPLAY_FORMATS . shortTime , DATE_DISPLAY_FORMATS . timezoneDateTime , DATE_DISPLAY_FORMATS . timezoneDateTimeSeconds , DATE_DISPLAY_FORMATS . timezoneDate , DATE_DISPLAY_FORMATS . timezoneTime , DATE_DISPLAY_FORMATS . localeDateTime , DATE_DISPLAY_FORMATS . localeDate , DATE_DISPLAY_FORMATS . localeTime , DATE_DISPLAY_FORMATS . locale , DATE_DISPLAY_FORMATS . shortLocale , DATE_DISPLAY_FORMATS . fullLocale , 'MM/DD' , 'MM/DD/YYYY' , 'M/DD/YYYY' , 'MM/DD/YY' , 'MM/DD/YYYY, h:mm A' , 'MM/DD/YYYY, h:mm:ss A' , moment . HTML5_FMT . DATETIME_LOCAL , moment . HTML5_FMT . DATETIME_LOCAL_SECONDS , moment . HTML5_FMT . DATETIME_LOCAL_MS , moment . HTML5_FMT . DATE , moment . HTML5_FMT . TIME , moment . HTML5_FMT . TIME_SECONDS , moment . HTML5_FMT . TIME_MS , moment . HTML5_FMT . MONTH , moment . ISO_8601 ] ; export enum DATE_DISPLAY_TYPES { HUMAN = 'human' , TIMEZONE = 'timezone' , LOCAL = 'local' , CUSTOM = 'custom' }