[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #DJU-684251]: udunits


> if I create a timestamp unit by parsing a data e.g
> ut_sct_in=ut_parse(ut_sys,"s@1990-1-1 10:58:26",UT_ASCII);
> How can I access the member "double origin"  in the resulting
> TimestampUnit structure ?

You can't.  The implementations of unit structures in the UDUNTS-2 package are 
opaque to client code.

If you're trying to get at the implementation details of a unit, then you're 
probably writing code that's likely to not work when a slight change is made to 
the package.

What, exactly, are you trying to accomplish?  There might be a way to do it 
that's still consistent with the intent of the package.

> Regards Henry

Steve Emmerson

Ticket Details
Ticket ID: DJU-684251
Department: Support UDUNITS
Priority: Normal
Status: Closed