// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.olio.data.object.unit.ui; import com.olio.data.object.user.Location; // Referenced classes of package com.olio.data.object.unit.ui: // TimeZone public class TimeZoneBuilder { private String displayName; private boolean enabled; private Location location; private String olsonId; private TimeZoneBuilder() { } public static TimeZoneBuilder aTimeZone() { return new TimeZoneBuilder(); } public TimeZone build() { TimeZone timezone = new TimeZone(); timezone.setDisplayName(displayName); timezone.setOlsonId(olsonId); timezone.setLocation(location); timezone.setEnabled(enabled); return timezone; } public TimeZoneBuilder but() { return aTimeZone().setDisplayName(displayName).setOlsonId(olsonId).setLocation(location).setEnabled(enabled); } public TimeZoneBuilder setDisplayName(String s) { displayName = s; return this; } public TimeZoneBuilder setEnabled(boolean flag) { enabled = flag; return this; } public TimeZoneBuilder setLocation(Location location1) { location = location1; return this; } public TimeZoneBuilder setOlsonId(String s) { olsonId = s; return this; } }