get_boundary function

Get date's business period boundary.