namespace weka.core;

class DateAttributeInfo
{
  isA AttributeInfo;
 depend java.text.SimpleDateFormat;
/** 
 * Date format specification for date attributes 
 */
protected SimpleDateFormat m_DateFormat;

/** 
 * Constructs info based on argument.
 */
public DateAttributeInfo(String dateFormat){
  if (dateFormat != null) {
    m_DateFormat=new SimpleDateFormat(dateFormat);
  }
 else {
    m_DateFormat=new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
  }
  m_DateFormat.setLenient(false);
}
}
