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

Q&A about working at Codeborne with our HR and a developer

We often get asked what it’s really like to work at Codeborne - how pair programming works, how flexible our office hours are, and what the day-to-day feels like. In this Q&A, our HR manager and a recently joined developer share honest answers to the questions we hear most from candidates.