com.geotab.model.TimeZoneInfoAdjustmentRule Maven / Gradle / Ivy
package com.geotab.model;
import java.time.DayOfWeek;
import java.time.Duration;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Getter @Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class TimeZoneInfoAdjustmentRule {
private LocalDateTime dateEnd;
private LocalDateTime dateStart;
private Duration daylightDelta;
private TransitionTime daylightTransitionEnd;
private TransitionTime daylightTransitionStart;
@Getter @Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public static class TransitionTime {
private int day;
private DayOfWeek dayOfWeek;
private int month;
private LocalDateTime timeOfDay;
private int week;
private boolean isFixedDateRule;
}
}