text: "use strict";
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports["default"] = formatUTCDateAsUTC;
  
  var _moment = _interopRequireDefault(require("moment"));
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
  
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
  
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
  
  function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
  
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
  
  function formatUTCDateAsUTC() {
    var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  
    if (args.length > 0) {
      var _args = _slicedToArray(args, 6),
          year = _args[0],
          month = _args[1],
          date = _args[2],
          _args$ = _args[3],
          hours = _args$ === void 0 ? 0 : _args$,
          _args$2 = _args[4],
          minutes = _args$2 === void 0 ? 0 : _args$2,
          _args$3 = _args[5],
          seconds = _args$3 === void 0 ? 0 : _args$3;
  
      var formattedDate = _moment["default"].utc([year, month - 1, date, hours, minutes, seconds]).format('YYYYMMDDTHHmm00') + 'Z';
      return formattedDate;
    }
  
    return _moment["default"].utc().format('YYYYMMDDTHHmm00') + 'Z';
  }