Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • RFA /
avatar image
Question by sean.mahony · Oct 11, 2017 at 10:49 AM · rfa javatimestampmifid

Why do nanosecond time fields match OMMTypes.TIME and not OMMTypes.TIME_8

When I compare data.getType() for nanosecond fields they always equal OMMTypes.TIME. I never see time fields equal the 8 bytes type OMMTypes.TIME_8.
Is this correct?
When is OMMTypes.TIME_8 used and when should I test for it?

if( dataType == OMMTypes.TIME ||
dataType == OMMTypes.TIME_3 ||
dataType == OMMTypes.TIME_5 ||
dataType == OMMTypes.TIME_7 ||
dataType == OMMTypes.TIME_8 )


if( dataType == OMMTypes.DATETIME ||
dataType == OMMTypes.DATETIME_7 ||
dataType == OMMTypes.DATETIME_9 ||
dataType == OMMTypes.DATETIME_11 ||
dataType == OMMTypes.DATETIME_12 )

Thanks

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by wasin.waeosri · Oct 27, 2017 at 12:07 AM

Hi @sean.mahony

This is an expected behavior. While decoding, the RFA JAVA getType() function will only return TIME. The width specified TIME (like TIME_8) is used ONLY when encoding set definitions (Defined Data).

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by wasin.waeosri · Oct 12, 2017 at 07:12 AM

Hi @sean.mahony , what is the version of RFA Java that you are using?

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by sean.mahony · Oct 12, 2017 at 07:18 AM

Hi @Wasin Waeosri , I am using 8.1.0.L1

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
9 People are following this question.

Related Questions

how to deal with chains items such as 'LIBOR01'

We are get exceed throttleMaxCount warning?

Query Historical Data for MRN and Analysis Data

RFA crash recovery

RFA and request throttling

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges