List of usage examples for org.joda.time DateMidnight now
public static DateMidnight now(Chronology chronology)
From source file:com.proofpoint.event.collector.combiner.StoredObjectCombiner.java
License:Apache License
private DateMidnight getEndDate() { return DateMidnight.now(UTC).minusDays(endDaysAgo); }
From source file:com.proofpoint.event.collector.combiner.StoredObjectCombiner.java
License:Apache License
private DateMidnight getStartDate() { return DateMidnight.now(UTC).minusDays(startDaysAgo); }
From source file:io.viewserver.expression.function.DateToBusinessDay.java
License:Apache License
@Override public int getInt(int row) { return businessDayCalculator.getBusinessDay(new DateMidnight(dateExpression.getLong(row), DateTimeZone.UTC), DateMidnight.now(DateTimeZone.UTC)); }
From source file:io.viewserver.expression.function.DayToBusinessDay.java
License:Apache License
@Override public int getInt(int row) { return businessDayCalculator.getBusinessDay( new DateMidnight(DateTimeZone.UTC).minusDays(dateExpression.getInt(row)), DateMidnight.now(DateTimeZone.UTC)); }