File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes TAI (Atomic Time International) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "TAI (Atomic Time International)" Watch "TAI (Atomic Time International)" New topic
Author

TAI (Atomic Time International)

Henadeerage Henadeera
Greenhorn

Joined: Aug 13, 2011
Posts: 12

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

Joined: Aug 13, 2011
Posts: 1
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

Joined: Oct 25, 2008
Posts: 2700

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!


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Henadeerage Henadeera
Greenhorn

Joined: Aug 13, 2011
Posts: 12
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

Joined: Oct 27, 2005
Posts: 19697
    
  20

http://sourceforge.net/apps/mediawiki/threeten/index.php?title=ThreeTen


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Henadeerage Henadeera
Greenhorn

Joined: Aug 13, 2011
Posts: 12
Rob Spoor wrote:http://sourceforge.net/apps/mediawiki/threeten/index.php?title=ThreeTen


Thank you very much....
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

You're welcome.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: TAI (Atomic Time International)