• 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: 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
  • Follow-Ups:
    • Re: Timestamps and PostgreSQL
      • From: Paul Hoadley <email@hidden>
    • Re: Timestamps and PostgreSQL
      • From: Ramsey Gurley <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>)

  • Prev by Date: Re: Timestamps and PostgreSQL
  • Next by Date: Re: Timestamps and PostgreSQL
  • Previous by thread: Re: Timestamps and PostgreSQL
  • Next by thread: Re: Timestamps and PostgreSQL
  • Index(es):
    • Date
    • Thread