Re: Timestamps and PostgreSQL
Re: Timestamps and PostgreSQL
- Subject: Re: Timestamps and PostgreSQL
- From: Ramsey Gurley <email@hidden>
- Date: Mon, 6 Dec 2010 18:03:23 -0500
Oh yeah... static initializers and variables come first. D'oh!
I think Chuck made an excellent point too. If that turns out to be the
case, I think there's room for one last EOF commandment (Thou shalt
not /Library/Java/Extensions)
Ramsey
On Dec 6, 2010, at 5:51 PM, Andrew Lindesay wrote:
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
_______________________________________________
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