Class PacificTimeUtils

java.lang.Object
edu.ucsb.cs156.happiercows.utilities.PacificTimeUtils

public class PacificTimeUtils extends Object
The server's JVM default timezone isn't guaranteed to be Pacific (it's commonly UTC in a deployed container), so any timestamp meant to represent a Pacific wall-clock moment - or any comparison against one - needs to use this zone explicitly rather than relying on the JVM default. See issue #318.
  • Field Details

    • ZONE

      public static final ZoneId ZONE