+ return date.toLocaleString() + prefixString;
+ }
+
+ static objectHasOwnProperty(object, property) {
+ return Object.prototype.hasOwnProperty.call(object, property);
+ }
+
+ static cloneJSonDocument(jsonDocument) {
+ return JSON.parse(JSON.stringify(jsonDocument));
+ }
+
+ static isString(value) {
+ return typeof value === 'string';
+ }
+
+ static isUndefined(value) {
+ return typeof value === 'undefined';
+ }
+
+ static isNullOrUndefined(value) {
+ // eslint-disable-next-line eqeqeq
+ if (value == null) {
+ return true;
+ }
+ return false;
+ }
+
+ static isEmptyArray(object) {
+ if (Array.isArray(object) && object.length > 0) {
+ return false;
+ }
+ return true;