• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Timestamps and PostgreSQL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Timestamps and PostgreSQL (From: Paul Hoadley <email@hidden>)
 >Re: Timestamps and PostgreSQL (From: Chuck Hill <email@hidden>)
 >Re: Timestamps and PostgreSQL (From: Paul Hoadley <email@hidden>)
 >Re: Timestamps and PostgreSQL (From: Paul Hoadley <email@hidden>)
 >Re: Timestamps and PostgreSQL (From: Chuck Hill <email@hidden>)
 >Re: Timestamps and PostgreSQL (From: Paul Hoadley <email@hidden>)
 >Re: Timestamps and PostgreSQL (From: Ramsey Gurley <email@hidden>)
 >Re: Timestamps and PostgreSQL (From: Andrew Lindesay <email@hidden>)

  • Prev by Date: Re: Timestamps and PostgreSQL
  • Next by Date: Re: x-webobjects-request-id lacking uniqueness?
  • Previous by thread: Re: Timestamps and PostgreSQL
  • Next by thread: Re: Timestamps and PostgreSQL
  • Index(es):
    • Date
    • Thread