
Test::C2FIT::TypeAdapter - Base class of all TypeAdapters.

You typically subclass TypeAdapter. Implement at least parse(), eventually equals() and toString().

When your data is not stored as string, then you'll propably need an TypeAdapter. E.g.: duration, which is displayed (and entered) in the form "MMM:SS" but stored as number of seconds.

Returns the internal representation of $string. Either this is an object instance, but it can be also a scalar value.
Returns the stringified representation of the internal value.

Extensive and up-to-date documentation on FIT can be found at: http://fit.c2.com/