Generated by
JDiff

Class com.itextpdf.commons.utils.DateTimeUtil

Added Methods
long  getCurrentTimeZoneOffset( Date) Gets the offset of time zone from UTC at the specified date.
 

Changed Methods
Calendar  addDaysToCalendar( Calendar, int ) Documentation changed from old to new.
Adds the specified amount of days to the given calendar field.
Date  addDaysToDate( Date, int ) Documentation changed from old to new.
Adds the specified amount of days to the given date.
String  format( Date, String ) Documentation changed from old to new.
Format passing date with specified pattern.
String  formatWithDefaultPattern( Date) Documentation changed from old to new.
Format passing date with default yyyy-MM-dd pattern.
Calendar  getCalendar( Date) Documentation changed from old to new.
Gets the date as Calendar.
Calendar  getCurrentTimeCalendar() Documentation changed from old to new.
Gets a default GregorianCalendar.
Date  getCurrentTimeDate() Documentation changed from old to new.
Gets current time consistently.
long  getRelativeTime( Date) Documentation changed from old to new.
Gets the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by specified date.
double  getUtcMillisFromEpoch( Calendar) Documentation changed from old to new.
Gets the Calendar as UTC milliseconds from the epoch.
boolean  isInPast( Date) Documentation changed from old to new.
Defines if date is in past.
Date  parse( String, String ) Documentation changed from old to new.
Parses passing date with specified format.
Date  parseWithDefaultPattern( String) Documentation changed from old to new.
Parses passing date with default yyyy-MM-dd pattern.
long  getCurrentTimeZoneOffset() Documentation changed from old to new.
Now deprecated.
Unused and will be removed in the next major release.