Re: Timestamps and PostgreSQL
Re: Timestamps and PostgreSQL
- Subject: Re: Timestamps and PostgreSQL
- From: Andrew Lindesay <email@hidden>
- Date: Tue, 07 Dec 2010 11:51:05 +1300
Hi Ramsey;
Possibly not helpful, but you can stick this construct inside the class;
static
{
... do stuff ...
}
I guess that runs before main() because it has to initialise the class
before it can run code in it.
cheers.
I might be mistaken, but I don't think you can get any earlier than main():
public static void main(String argv[]) {
TimeZone.setDefault(...);
ERXApplication.main(argv, Application.class);
}
--
Andrew Lindesay
www.silvereye.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden