[#BloombergLP-bdlt-Time-setMinuteIfValid] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Time.adoc[Time]::setMinuteIfValid :relfileprefix: ../../../ :mrdocs: Set the minute attribute if it is in range; otherwise do nothing. == Synopsis Declared in `<bdlt_time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int setMinuteIfValid(int minute); ---- == Description Set the "minute" attribute of this time object to the specified `minute` _if_ `0 <= minute < 60`; if the `hour` attribute is 24, set the `hour` attribute to 0. Return 0 on success, and a non‐zero value (with no effect) otherwise. == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *minute* | minute attribute to set |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#