jwenting 1,905 duckman Team Colleague

Validation whether a string can be parsed to a valid date according to a supplied formatting string (which should conform to the formatting rules as supplied in DateFormat).
This version can also flag dates in the past as error (we need that because many of our applications should accept only dates in the future, for example delivery dates).

To be nice it also checks for illegal input that would parse into a valid (but possibly unintended) date value, for example 35-24-2004 is not accepted even if DateFormat.parse() allows it (simply rolling forward to the next real date).

Tested using J2SDK 1.4.2 and 1.5.0

jwenting 1,905 duckman Team Colleague

A far easier implementation is as follows:

public static void sortEm(String[] array, int len)
{
    java.util.Arrays.sort(array);
}
jwenting 1,905 duckman Team Colleague

more unformatted code...
And those error messages are quite clear. Learn to interpret them.

jwenting 1,905 duckman Team Colleague

Of course anyone thinking to "learn Java within a month" is rather insane...
A decade is more like it.

jwenting 1,905 duckman Team Colleague

interesting how the leftists as usual do all the mudslinging and flaming, then go and blame the ones they're defaming for it...

They must be so full of hatred for everything right thinking people stand for.
Things like equality, opportunity, getting compensated for your work, etc. etc. etc.

scru commented: okaaaay +0
jwenting 1,905 duckman Team Colleague

Canceled by Executive Order until further notice.

Get back to work. Move along.

The Obamessiah ("voluntary mandatory national service", etc.) isn't YET in office, so that can still be avoided.

jwenting 1,905 duckman Team Colleague

why don't we have a toll-free number where everyone calls in, enters SSN, and votes? Too simple for the jerks to jack us around?

Insanely easy to commit massive election fraud.
Dial, enter someone elses SSN, vote for your candidate, hang up, repeat until time runs out.
No way to block it either, as you have to account for multiple people using the same phoneline...

Even worse, it's easy to program a talking computer to do this at a very high rate, potentially "voting" for your candidate millions of time before real people can get in a few dozen votes.

jwenting 1,905 duckman Team Colleague

so it's not just a kiddo, but a sicko as well.

jwenting 1,905 duckman Team Colleague

yes, DO YOUR OWN HOMEWORK.
We're NOT a homework service, and we're also NOT going to help you write another pirate 2 pirate application.

jwenting 1,905 duckman Team Colleague

tons of unformatted code, no description of what "goes wrong", no nothing.
You'll have to do better than that if you expect us to fix the code you pulled from some other website for you, kid.

jwenting 1,905 duckman Team Colleague

Actually most of those illegals vote Republican.

they don't. they vote for who promises them mountains of gold, which is leftists, which means "democrats" (self proclaimed).

jwenting 1,905 duckman Team Colleague

most likely your contract of employment prohibits you from going into business in competition with your current employer.

Whatever you do, first check the legalities. And remember that you don't know the business if you managed its computer systems.
You'll also almost certainly need training and licensing to operate in the field at all, will take several years to get that.

jwenting 1,905 duckman Team Colleague

Get a job as a DBA at a bank and hack into their computers.
Of course that would be breaking the law, but it's the one way to do this that might have anything to do with Oracle yet not be a poorly phrased homework question.

jwenting 1,905 duckman Team Colleague

Did you really have to revive a thread more than 3 years old with 2 posts, one by a banned member, and one by a member who's not been seen in 3 years?

jwenting 1,905 duckman Team Colleague

you idiots really think that you're going to get material to cheat on some exam from a kid (now hopefully grown up) who offered to supply it to another kid 4 years ago?

jwenting 1,905 duckman Team Colleague

if you'd been here longer you'd know that "ITHelp" is an idiot whose advice is usually to be reversed and that reverse applied.

jwenting 1,905 duckman Team Colleague

maybe. But remember that many of those illegals are using the voter registration cards of dead people (and their SSNs).
One more reason leftists are opposed to throwing out illegals and closing down the border so they can't get in again.

jwenting 1,905 duckman Team Colleague

in fact with very limited action you can get rid of all advertising on Daniweb :)

jwenting 1,905 duckman Team Colleague

and why is a bridge to Wassila a "waste of federal money" but a billion dollar road to connect some remote town in (say) Montana isn't?
Maybe because it's not a leftist politician voting for the budget?

Palin has a track record of reducing pork and corruption, Obama and Biden have only ever tried to increase it.

jwenting 1,905 duckman Team Colleague

He called you a liar because you ARE a liar. You state your code compiles on one platform and not another, and that's a clear lie if there ever was one.
Behave yourself, you're just a homework kiddo like so many others. If you weren't a kiddo you'd not be as immature as you quite obviously are.

jwenting 1,905 duckman Team Colleague

one hour of work shoveling garbage at a chemical waste dump per message sent is more appropriate ;)

jwenting 1,905 duckman Team Colleague

Grimjack won't accept any evidence of leftist corruption and fraud that doesn't come from a leftist source, and leftist sources aren't going to expose their own interests as fraudulent...

jwenting 1,905 duckman Team Colleague

it's your homework to get it to compile, so go ahead and fix it.

If you'd known the first thing you'd known that something that fails at one platform will fail at all of them (barring errors in the implementation of the platform).

You'd also have known that you shouldn't attack those you're asking for help, which you're doing, and which is the halmark of the homework kiddo (so that we'd have recognised you as one even if we'd not done so before).

jwenting 1,905 duckman Team Colleague

And combine that with this story linking Obama with ACORN to get a clear picture of how the Obamessiah is planning to corrupt the November elections.

jwenting 1,905 duckman Team Colleague

shh, you're not supposed to tell them that!

jwenting 1,905 duckman Team Colleague

Other: hanging, drawing, and quartering comes to mind.

First hang them from the neck until NEARLY dead.
Next drag them through the city behind a horse (or car).
Then tear out their intestines out of their living bodies.
After that attach each limb to a horse (or car) and tear them off.
Display the parts across the country.

Worked wonders against enemies of the Crown.

jwenting 1,905 duckman Team Colleague

It's your homework. If you think you can get away with passing off someone elses work as your own you're a sleezball who's attempting plagiarism and noone should help you.
In fact you deserve to be thrown out of school and banned from ever enlisting in any other school for any course whatsoever.

jwenting 1,905 duckman Team Colleague

and you could ask more specific questions, and make sure they're not questions that are easily answered by reading the tutorial resources linked on top of the forum.

jwenting 1,905 duckman Team Colleague

nope. Hit them at short notice so they have no time to think up another fraudulent scheme.

jwenting 1,905 duckman Team Colleague

he's an econutter. He discredits anything that doesn't match the official greenie party line based on the fact that it doesn't fit that party line...

jwenting 1,905 duckman Team Colleague

Excellent. Far too many fake voter registration cards are in circulation, most of them created by far left groups btw (which is of course why the left is so opposed to voters needing to identify themselves).
In other countries it's quite normal that you can't vote without first proving who you are, and getting that identity registered so you can't go out and vote more than once.

jwenting 1,905 duckman Team Colleague

no company gives a rookie a project to run on his own.
no company gives anyone a project with no specs except "we want an online examination system".
no company would give that rookie a deadline of 20 days to build a complete system.
no company would agree with you plagiarising someone elses code.

From all this only one conclusion is possible: you're a sick lazy homework kiddo that's trying to trick others into doing your school assignment for you.

And no, we're not going to do that. We love to see kiddos like you fail miserably, it's better than you deserve.

jwenting 1,905 duckman Team Colleague

we're not going to do your homework for you, thread hijacking homework kiddo.

jwenting 1,905 duckman Team Colleague

I assume you are referring to the nuclear accident next door to your country, in Belgium.

No, to that little mishap in the Ukraine...

Nuclear energy is safe as long as you leave it to engineers to run the plants and set policies rather than politicians and greenies.

I'd much rather live near a nuclear plant than a coal or oil fired plant, and especially a windfarm.

jwenting 1,905 duckman Team Colleague

Solar sails have been tested in orbit and do work.

Of course the test sails have been small and crude, made of very thin plastic coated in aluminium, but the concept has been shown to work.

jwenting 1,905 duckman Team Colleague

What does this have to do with JSP anyway?

jwenting 1,905 duckman Team Colleague

and you don't stop threads. You tell them that they should at their leasure do what's needed to terminate (of course after closing and cleaning up resources, etc.).

jwenting 1,905 duckman Team Colleague

It's just as bad in C++ to assume you own the console.

jwenting 1,905 duckman Team Colleague

1, 2, 3, 4, ..., 148, 149, 150

jwenting 1,905 duckman Team Colleague

You don't own the console, and should NEVER assume that you do.
Therefore you should NEVER try to clear it and should NEVER assume that no other process writes to it.

jwenting 1,905 duckman Team Colleague

there's a difference between "caring about the environment" and blindly following the religion of "Global Warming" as preached by its high priest, Al Gore.

I do really care, which is precisely why I do NOT subscribe to the entire "Global Warming" nonsense, which I KNOW to be fundamentally flawed and just a big pack of lies.

Those who are believers in the church of gore do the environment a disservice by throwing away massive amounts of money on pipedreams, destroying economies to the point where caring about the environment will become a luxury people can no longer afford.

jwenting 1,905 duckman Team Colleague

it's not a job offer anyway. It's advertising, they want to act as an intermediary between you and others to build websites for you.

jwenting 1,905 duckman Team Colleague

Ehm beginner...

all the more reason to read and follow the rules to the letter.

jwenting 1,905 duckman Team Colleague

we're not going to read that garbage.
You will have gotten a line number for the error, that will tell you where to look for your error.
Learn to read and interpret error messages, it's a vital skill.

jwenting 1,905 duckman Team Colleague

depends on the origin of the document, the website in question, etc. etc. etc.

jwenting 1,905 duckman Team Colleague

nuclear is far safer than anything else. There's only been one accident in 60 years where radiation was not contained, and that was a deliberate failure in a reactor of a design that was already outdated and scrapped in the civilised world.

The only reason it's expensive are the idiotic and counterproductive "regulations" surrounding the storage and disposal of nuclear waste, most of which could be reused after processing as fuel for other nuclear power stations, something declared illegal on the basis of fearmongering by ecoweenies who want to see us all back cowering in caves when the sun goes down (after of course making sure no wildlife wants the cave for the night, nasty humans shouldn't evict nice bears from their caves).

btw, a lot of energy companies are looking to build new nuclear power stations. It's the idiot politicians and their cronies in the ecoweenie movement that are blocking it for no reasons except more fearmongering and political lies.
But that too is changing as politicians are finding that voters are starting to realise that without nuclear power there will soon be massive blackouts as energy supplies from Russia and Saudi are far from reliable.

jwenting 1,905 duckman Team Colleague

However, I'd consider any unsollicited email like that to be highly suspicious.
Make sure it's not fake addresses.

Many spammers make messages look like they're from legitimate businesses but the actual site and response are not real.

jwenting 1,905 duckman Team Colleague

Pay me a million billion gazillion dollars or I will destroy the world.
Was signed, Dr. Evil

jwenting 1,905 duckman Team Colleague

we're not here to do your homework for you, and given your "requirements" it's homework as no real job would restrict you like that.

jwenting 1,905 duckman Team Colleague

what'd you expect from an Indian site by homework kiddos for homework kiddos?

I usually recommend them to homework kiddos, provides a good laugh to see them trashing about ;)