• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Calendars

 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been looking at the GregorianCalendar class, and I'm finding that after spending some time getting familiar with the interface, it actually is a decent way of dealing with time. Now I have a special timekeeping application, and I'm wondering about possible extensions to the Calendar Class.

For astronomical purposes, there are apparently calendars that differ slightly from common time. There is Coordinate Time and Terrestrial Time, as well as timekeeping in terms of Julian Days (number of days since some date long ago--i.e., today is julian day 2453811. I don't really understand the science involved in these calendars, but the motivation behind these other calendars is to have some standard notion of time, at least throughout the solar system, that accounts for the relativistic time dialations present in orbital mechanics.

So now I am dreaming of an implementation of Calendar, call it TerrestrialTime, that gives me the smart computation on this timescale if I give it a GregorianCalendar instance.

My application deals with computing and interpreting an ephemeris (a database of planetary motion).
 
Ranch Hand
Posts: 2412
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there a formula that translates a measure of Gregorian Time into Terrestrial time?
 
reply
    Bookmark Topic Watch Topic
  • New Topic