summaryrefslogtreecommitdiffstats
path: root/src/org/uic/ticket/api/impl/SimpleTimeRange.java
blob: f42b6370c8a48fbc20fbff45c00fb8a23d8fb901 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package org.uic.ticket.api.impl;



import org.uic.ticket.api.spec.ITimeRange;

public class SimpleTimeRange implements ITimeRange {
	
	int fromTime = 0;
	int untilTime = 1440;

	@Override
	public int getFromTime() {
		return fromTime;
	}

	@Override
	public int getUntilTime() {
		return untilTime;
	}

	@Override
	public void setFromTime(int minutes) {
		this.fromTime = minutes;	
	}

	@Override
	public void setUntilTime(int minutes) {
		this.untilTime = minutes;
	}
	
	/** The valid from utc coffset. */
	protected Long validFromUTCoffset;
	
	/** The valid until utc coffset. */
	protected Long validUntilUTCoffset;
	
	public Long getValidFromUTCoffset() {
		return validFromUTCoffset;
	}

	public void setValidFromUTCoffset(Long validFromUTCoffset) {
		this.validFromUTCoffset = validFromUTCoffset;
	}

	public Long getValidUntilUTCoffset() {
		return validUntilUTCoffset;
	}

	public void setValidUntilUTCoffset(Long validUntilUTCoffset) {
		this.validUntilUTCoffset = validUntilUTCoffset;
	}



}