<?php

/**
* @version 2.8.9
* @package Joomla 2.5
* @subpackage DT Register
* @copyright Copyright (C) 2006 DTH Development
* @copyright contact dthdev@dthdevelopment.com
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/

class DtregisterModelDateformat extends DtrModel 
{
 							 //%b %e , %Y |  %e %b %Y | %m/%d/%Y | %d/%m/%Y | %Y/%m/%d |%m.%d.%Y | %d.%m.%Y | %Y.%m.%d

	var $formats=array(

								'M j, Y'=>'Mar 5, 2009',

								'j M Y'=>'5 Mar 2009',

								'l, j M Y'=>'Monday, 5 Mar 2009',

								'm-d-Y'=>'mm-dd-yyyy',

								'd-m-Y'=>'dd-mm-yyyy',

								'Y-m-d'=>'yyyy-mm-dd',

								'm.d.Y'=>'mm.dd.yyyy',

								'd.m.Y'=>'dd.mm.yyyy',

								'Y.m.d'=>'yyyy.mm.dd',

								'm/d/Y'=>'mm/dd/yyyy',

								'd/m/Y'=>'dd/mm/yyyy',

								'Y/m/d'=>'yyyy/mm/dd',

							);
							 
	var $fileformats = array(
	              '%m-%d-%Y'=> 'mm-dd-yyyy'
				 ,'%d-%m-%Y'=> 'dd-mm-yyyy'
				 ,'%Y-%m-%d'=> 'yyyy-mm-dd' 
				 ,'%m.%d.%Y'=> 'mm.dd.yyyy'
				 ,'%d.%m.%Y'=> 'dd.mm.yyyy'
				 ,'%Y.%m.%d'=> 'yyyy.mm.dd'
				 ,'%d/%m/%Y'=> 'dd/mm/yyyy'
				 ,'%Y/%m/%d'=> 'yyyy/mm/dd'
				 ,'%m/%d/%Y'=> 'mm/dd/yyyy'
	            );

  function getformats(){

	 return $this->formats;
     
  }

  function getfieldformats(){
    
	return $this->fileformats;
  }
  
}

?>