117a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta/* 217a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta * Copyright (C) 2014 The Android Open Source Project 317a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta * 417a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta * Licensed under the Apache License, Version 2.0 (the "License"); 517a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta * you may not use this file except in compliance with the License. 617a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta * You may obtain a copy of the License at 717a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta * 817a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta * http://www.apache.org/licenses/LICENSE-2.0 917a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta * 1017a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta * Unless required by applicable law or agreed to in writing, software 1117a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta * distributed under the License is distributed on an "AS IS" BASIS, 1217a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1317a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta * See the License for the specific language governing permissions and 1417a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta * limitations under the License. 1517a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta */ 1617a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta 1717a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Guptapackage libcore.util; 1817a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta 1917a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Guptaimport com.android.tools.layoutlib.annotations.LayoutlibDelegate; 2017a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta 2117a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Guptaimport java.util.GregorianCalendar; 2217a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta 2317a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta/** 2417a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta * Delegate used to provide alternate implementation of select methods in {@link ZoneInfo.WallTime} 2517a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta */ 2617a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Guptapublic class ZoneInfo_WallTime_Delegate { 2717a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta 2817a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta @LayoutlibDelegate 2917a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta static GregorianCalendar createGregorianCalendar() { 3017a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta return new GregorianCalendar(); 3117a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta } 3217a6170c62e6f74f2881623a9c16f0b6fea54721Deepanshu Gupta} 33