Set the local date and time zone offset of this object to the specified localDate and offset values respectively if localDate and offset represent a valid DateTz value. Return 0 on success, and a non‐zero value with no effect on this DateTz object otherwise.

Synopsis

Declared in <bdlt_datetz.h>

int
setDateTzIfValid(
    Date const& localDate,
    int offset);

Created with MrDocs