OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.content.browser.input; | 5 package org.chromium.ui.picker; |
6 | 6 |
7 import android.content.Context; | 7 import android.content.Context; |
8 | 8 |
9 import org.chromium.content.R; | 9 import org.chromium.ui.R; |
10 | 10 |
11 public class WeekPickerDialog extends TwoFieldDatePickerDialog { | 11 public class WeekPickerDialog extends TwoFieldDatePickerDialog { |
12 | 12 |
13 /** | 13 /** |
14 * @param context The context the dialog is to run in. | 14 * @param context The context the dialog is to run in. |
15 * @param callBack How the parent is notified that the date is set. | 15 * @param callBack How the parent is notified that the date is set. |
16 * @param year The initial year of the dialog. | 16 * @param year The initial year of the dialog. |
17 * @param weekOfYear The initial week of the dialog. | 17 * @param weekOfYear The initial week of the dialog. |
18 */ | 18 */ |
19 public WeekPickerDialog(Context context, | 19 public WeekPickerDialog(Context context, |
(...skipping 27 matching lines...) Expand all Loading... |
47 | 47 |
48 /** | 48 /** |
49 * Gets the {@link WeekPicker} contained in this dialog. | 49 * Gets the {@link WeekPicker} contained in this dialog. |
50 * | 50 * |
51 * @return The calendar view. | 51 * @return The calendar view. |
52 */ | 52 */ |
53 public WeekPicker getWeekPicker() { | 53 public WeekPicker getWeekPicker() { |
54 return (WeekPicker) mPicker; | 54 return (WeekPicker) mPicker; |
55 } | 55 } |
56 } | 56 } |
OLD | NEW |