🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3610

Date Validation

#3610
From: Joe Stanisic
Date: Mon, 27 Oct 1997 00:00
8 lines
684 bytes
What's the best method for validating a date in java?  Let's say I'm
reading a date from a
file and want to make sure it's valid.  And let's say the date may be in
MMDDYYYY format.  What's the best way in java to validate this date
after it's read from a file and is in a String object?

Thanks....
Technical Details
Message-ID: <3454CA7A.DF6990BA@highmark.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,5bf1e5ba60c9fe8d,start
X-Google-Attributes: gid1089d0,public
From: Joe Stanisic <jstanisic@highmark.com>
Subject: Date Validation
Date: 1997/10/27
Message-ID: <3454CA7A.DF6990BA@highmark.com>
X-Deja-AN: 285342546
X-Priority: 3 (Normal)
Organization: None
Newsgroups: borland.public.jbuilder.java.api