Package ch.aaap.harvestclient.core.util
Class FormatUtil
Object
ch.aaap.harvestclient.core.util.FormatUtil
Contains utility methods to get formatters based on user input
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DateTimeFormatter
getDateTimeFormatter
(boolean use12HoursFormat) Gets a time formatter according to whether the company uses the 12 hours harvest format or not
-
Constructor Details
-
FormatUtil
public FormatUtil()
-
-
Method Details
-
getDateTimeFormatter
Gets a time formatter according to whether the company uses the 12 hours harvest format or not- Parameters:
use12HoursFormat
- if the 12 hours format should be used or not- Returns:
- a @
DateTimeFormatter
instance
-