All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.server.core.timezone.MySqlDataTimeZone Maven / Gradle / Ivy

There is a newer version: 15.10.0
Show newest version
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