Skip to content

Declared in <galanthus/c_api/gln_capi.h>.

GLN_API const char* GLN_CALL gln_get_balance_as_of_time(const gln_balance_t* in_balance);
  • Family: Row field accessors
  • Return type: const char*

Purpose

Returns the balance as-of time when available.

Return

Returns the provider's as-of time for the booked balance when the row supplies one. Read it together with gln_get_balance_as_of_date when both are present. Returns NULL when the optional field is not materialized or when the input handle is NULL.

TypeNullabilityOwnership
const char*nullableborrowed

Parameters

NameDirectionTypeNullabilityOwnership
in_balanceinputconst gln_balance_t*nullableborrowed

Date Semantics

Returns the provider's as-of time for the booked balance when the row supplies one. Read it together with gln_get_balance_as_of_date when both are present.

The time string is provider text; callers that need a concrete clock interpretation must parse it according to the source they requested.

Notes

Passing NULL for in_balance is allowed and returns NULL.

NULL means the provider did not supply this optional field for the row.

The returned pointer is borrowed from the owning backend result envelope and becomes invalid when that envelope is destroyed.

See Also