AjaxDateTimeHelper_class = function() {};
Object.extend(AjaxDateTimeHelper_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	ParseDate: function(dateString, timeZone) {
		return this.invoke("ParseDate", {"dateString":dateString, "timeZone":timeZone}, this.ParseDate.getArguments().slice(2));
	},
	GetCurrentDateTimeViaTimeZone: function(timeZoneId) {
		return this.invoke("GetCurrentDateTimeViaTimeZone", {"timeZoneId":timeZoneId}, this.GetCurrentDateTimeViaTimeZone.getArguments().slice(1));
	},
	GetLocalDateTime: function(year, month, day, hour, minute, onlyDate, onlyTime) {
		return this.invoke("GetLocalDateTime", {"year":year, "month":month, "day":day, "hour":hour, "minute":minute, "onlyDate":onlyDate, "onlyTime":onlyTime}, this.GetLocalDateTime.getArguments().slice(7));
	},
	IsValidDateTimeString: function(dateString) {
		return this.invoke("IsValidDateTimeString", {"dateString":dateString}, this.IsValidDateTimeString.getArguments().slice(1));
	},
	GetClientZone: function(timeZoneOffset) {
		return this.invoke("GetClientZone", {"timeZoneOffset":timeZoneOffset}, this.GetClientZone.getArguments().slice(1));
	},
	GetTimeZoneDisplayName: function(timeZoneId) {
		return this.invoke("GetTimeZoneDisplayName", {"timeZoneId":timeZoneId}, this.GetTimeZoneDisplayName.getArguments().slice(1));
	},
	GetDateTimeFromDestinationZone: function(dateTime, sourceTimeZoneID, destinationTimeZoneID) {
		return this.invoke("GetDateTimeFromDestinationZone", {"dateTime":dateTime, "sourceTimeZoneID":sourceTimeZoneID, "destinationTimeZoneID":destinationTimeZoneID}, this.GetDateTimeFromDestinationZone.getArguments().slice(3));
	},
	GetTimeZonePreference: function() {
		return this.invoke("GetTimeZonePreference", {}, this.GetTimeZonePreference.getArguments().slice(0));
	},
	url: '/AgentLibrary/ajaxpro/AgentLibrary.Controls.DateTimeHelper,AgentLibrary.Controls.ashx'
}));
AjaxDateTimeHelper = new AjaxDateTimeHelper_class();


