"use strict";

function TimestampValidatorException(strMessage, nCode)
{
	this.strMessage=strMessage;
	this.nCode=nCode;
	this.strType="TimestampValidatorException";
}

/**
* Date must be a string.
*/
TimestampValidatorException.DATE_MUST_BE_STRING=0;

/**
* Date format not good.
* Desired format is: YYYY-MM-DDThh:mm:ssZ
*/
TimestampValidatorException.DATE_MUST_BE_ISO8601_COMPLIANT=1;

/**
* Invalid date.
*/
TimestampValidatorException.INVALID_DATE=2;

/**
* Invalid time.
*/
TimestampValidatorException.INVALID_TIME=3;
