framework/base/src/org/ofbiz/base/util/UtilDateTime.java
UtilDateTime
has 159 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public final class UtilDateTime {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
/**
Method getYearStart
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static Timestamp getYearStart(Timestamp stamp, Number daysLater, Number monthsLater, Number yearsLater, TimeZone timeZone, Locale locale) {
Method toTimestamp
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static java.sql.Timestamp toTimestamp(int month, int day, int year, int hour, int minute, int second) {
Method toDate
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static java.util.Date toDate(String monthStr, String dayStr, String yearStr, String hourStr,
String minuteStr, String secondStr) {
Method toTimestamp
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static java.sql.Timestamp toTimestamp(String monthStr, String dayStr, String yearStr, String hourStr,
String minuteStr, String secondStr) {
Method getYearStart
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static Timestamp getYearStart(Timestamp stamp, int daysLater, int monthsLater, int yearsLater, TimeZone timeZone, Locale locale) {
Method toDate
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static java.util.Date toDate(int month, int day, int year, int hour, int minute, int second) {
Method adjustTimestamp
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static Timestamp adjustTimestamp(Timestamp stamp, int adjType, int adjQuantity, TimeZone timeZone, Locale locale) {
Method getPeriodIntervalAndFormatter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static TimeInterval getPeriodIntervalAndFormatter(String period, int timeShift, Timestamp fromDate, Locale locale, TimeZone timezone) {
Method getYearStart
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static Timestamp getYearStart(Timestamp stamp, int daysLater, int yearsLater, TimeZone timeZone, Locale locale) {
Method getPeriodInterval
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static TimeInterval getPeriodInterval(String period, int timeShift, Timestamp fromDate, Locale locale, TimeZone timezone) {
Method getMonthStart
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static Timestamp getMonthStart(Timestamp stamp, int daysLater, int monthsLater, TimeZone timeZone, Locale locale) {
Method getWeekStart
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static Timestamp getWeekStart(Timestamp stamp, int daysLater, int weeksLater, TimeZone timeZone, Locale locale) {