how to create calendar in java eclipse msp profit margins