Aivar
25 Oct 2010

Datatype for account ID

What is the best datatype to store account IDs? Number? String? No! The correct answer is XMLGregorianCalendar .


private XMLGregorianCalendar accountID;


public XMLGregorianCalendar getAccountID()
{
  return accountID;
}


public void setAccountID(XMLGregorianCalendar value)
{
  accountID = value;
}

Our recent stories

How we built a virtual power plant

How Codeborne helped Alexela to transform Estonia's energy scene with Smart Electricity, an innovative virtual power plant that promotes smarter energy use