Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TAI (Atomic Time International)

 
Henadeerage Henadeera
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Does any body knows how to get TAI using Java?
I know Java gives UTC time stamps. But I need a time stamp using TAI (considering leap seconds).
 
Steve Allen
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
before deciding to use TAI have a look at http://www.ucolick.org/~sla/leapsecs/timescales.html#TAI and in particular document CCTF/09-27 where it is evident that the folks who provide TAI do not want it used for these sorts of applications
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Out of curiousness: for what kind of application do you need that?

@Steve
Thank you for sharing that as your first post and welcome to the JavaRanch!
 
Henadeerage Henadeera
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wouter Oet wrote:Out of curiousness: for what kind of application do you need that?

@Steve
Thank you for sharing that as your first post and welcome to the JavaRanch!


At this moment I wanna implement TAI.
How can I get javax.time.UTCInstant package ???
 
Rob Spoor
Sheriff
Pie
Posts: 20608
63
Chrome Eclipse IDE Java Windows
 
Henadeerage Henadeera
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Spoor wrote:http://sourceforge.net/apps/mediawiki/threeten/index.php?title=ThreeTen


Thank you very much....
 
Rob Spoor
Sheriff
Pie
Posts: 20608
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're welcome.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic