class Sequence {
  constructor(){
    
  }
}

Sequence.getSequence = () => {
  const date = new Date();
  const s = `${date.getTime()}`;
  return s;
};

Sequence.S4 = () => {
	return (((1+Math.random())*0x10000)|0).toString(16).substring(1);
}

Sequence.createUuid = () => {
	return (Sequence.S4() + Sequence.S4() + "-" + Sequence.S4() + "-" + Sequence.S4() + "-" + Sequence.S4() + "-" + Sequence.S4() + Sequence.S4() + Sequence.S4());
}

export default Sequence;
