
io.ebeaninternal.server.core.timezone.MySqlDataTimeZone Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean Show documentation
Show all versions of ebean Show documentation
composite of common runtime dependencies for all platforms
package io.ebeaninternal.server.core.timezone;
import java.util.Calendar;
/**
* Implementation of DataTimeZone when single Calendar instance is used with local timezone.
*/
public class MySqlDataTimeZone implements DataTimeZone {
protected final Calendar zone;
public MySqlDataTimeZone() {
this.zone = Calendar.getInstance();
}
@Override
public Calendar getTimeZone() {
return zone;
}
@Override
public Calendar getDateTimeZone() {
return zone;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy