Re: Extended MAMA DateTime Further Modifications
Looks like the right thing to do, Frank. Do you intend to revise the RFC in some way to take account of this (in case the previously mentioned payload bridge developers refer to that for a reference with regard to the preferred getter / setter methods)?
Nigel Phelan | Corporate & Investment Bank | Market Data Services | J.P. Morgan
From: openmama-dev-bounces@... [mailto:openmama-dev-bounces@...]
On Behalf Of Frank Quinn
With that in mind I am going to suggest that a new interface is made available in addition to those in the existing implementation
mamaDateTime_setFromStructTimeSpec(const mamaDateTime dateTime,
struct timespec* inputTimeVal);
mamaDateTime_getStructTimeSpec(const mamaDateTime dateTime,
struct timespec* result);
They're pretty much identical to the existing timeval based functions but with timespec instead and their implementation should very very straightforward based on what's already there so in terms of code it's a small change.
This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email