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
validateAndSetDateTz(
    Date const& localDate,
    int offset);

Description

DEPRECATED: Use setDateTzIfValid instead.

Created with MrDocs