[#BloombergLP-balm-PublicationScheduler-findCategorySchedule-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/PublicationScheduler.adoc[PublicationScheduler]::findCategorySchedule :relfileprefix: ../../../ :mrdocs: Load into `result` the individual schedule interval for `category`. == Synopsis Declared in `<balm_publicationscheduler.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool findCategorySchedule( xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]* result, xref:BloombergLP/balm/Category.adoc[Category] const* category) const; ---- == Description Load into the specified `result` the individual schedule interval (set using the `scheduleCategory` method) that corresponds to the specified `category`, if found, and return `true`, or (if not found) return `false` with no effect. This method will return `false` and will not modify `result` if `category` is published as part of the default scheduled publication. The behavior is undefined unless `category` is a valid address supplied by the `balm::MetricRegistry` owned by the `MetricsManager` object supplied at construction. == Return Value `true` if an individual schedule is found, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *result* | receives the schedule interval for `category` | *category* | category whose schedule interval is retrieved |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#