Skip to content
Advertisement

Tag: java.util.date

Is there a way to represent BC dates with java.util.date?

Yes, I understand that java.util.Date is extremely outdated. That being said, is there a way to represent dates before 1 CE using this class, or must I migrate to a different class? Answer Trivially, no. There is no way to represent dates with java.util.Date at all. Any date. j.u.Date is a misnomer, and is obsolete API you should not be

Advertisement