1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.location.service;
17
18 import java.util.ArrayList;
19 import java.util.List;
20
21 import org.kuali.hr.time.util.TkConstants;
22 import org.kuali.rice.core.api.util.ConcreteKeyValue;
23 import org.kuali.rice.core.api.util.KeyValue;
24 import org.kuali.rice.krad.keyvalues.KeyValuesBase;
25
26 public class TimezoneKeyValueFinder extends KeyValuesBase{
27
28 @Override
29 public List getKeyValues() {
30 List<KeyValue> timezones = new ArrayList<KeyValue>();
31 for(String timeZone : TkConstants.TIME_ZONES){
32 timezones.add(new ConcreteKeyValue(timeZone,timeZone));
33 }
34 return timezones;
35 }
36
37 }