src/third_party/v8-3.25/src/i18n.js
/**
 * Returns actual formatted date or fails if date parameter is invalid.
 */
Returns actual formatted date or fails if date parameter is invalid.
Returns actual formatted date or fails if date parameter is invalid .
function toLocaleDateTime(date, locales, options, required, defaults, service) {
  if (!(date instanceof $Date)) {
    throw new $TypeError('Method invoked on an object that is not Date.');
  }
  if ($isNaN(date)) {
    return 'Invalid Date';
  }
  var internalOptions = toDateTimeOptions(options, required, defaults);
  var dateFormat =
      cachedOrNewService(service, locales, options, internalOptions);
  return formatDate(dateFormat, date);
}
function toLocaleDateTime ( date , locales , options , required , defaults , service ) { if ( ! ( date instanceof $Date ) ) { throw new $TypeError ( 'Method invoked on an object that is not Date.' ) ; } if ( $isNaN ( date ) ) { return 'Invalid Date' ; } var internalOptions = toDateTimeOptions ( options , required , defaults ) ; var dateFormat = cachedOrNewService ( service , locales , options , internalOptions ) ; return formatDate ( dateFormat , date ) ; }
Returns actual formatted date or fails if date parameter is invalid.
Returns actual formatted date or fails if date parameter is invalid .