private void setCommonPdfPCellProperties(PdfPCell cell, int horizontalAlignment = Element.ALIGN_CENTER)
{
if (cell == null)
return;
cell.RunDirection = runDirection;
cell.HorizontalAlignment = horizontalAlignment;
cell.VerticalAlignment = Element.ALIGN_MIDDLE;
cell.UseAscender = true;
cell.UseDescender = true;
cell.BorderColor = CalendarAttributes.BorderColor;
}