From 74bc375829aacc086b3f0d87993b820dba02a89c Mon Sep 17 00:00:00 2001 From: WYS <573869201@qq.com> Date: Thu, 8 Aug 2024 16:06:35 +0800 Subject: [PATCH] first push --- ...板-软件需求规格说明书模板.docx | Bin 0 -> 27574 bytes src/DateTimePickerDialog.java | 90 ++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 doc/文档模板-软件需求规格说明书模板.docx create mode 100644 src/DateTimePickerDialog.java diff --git a/doc/文档模板-软件需求规格说明书模板.docx b/doc/文档模板-软件需求规格说明书模板.docx new file mode 100644 index 0000000000000000000000000000000000000000..f16e80316872dbc897272b1b6604a4c623f058f9 GIT binary patch literal 27574 zcmeFZV~{S*wk_PYZQES!)wXThwr%%n+qP}n_G;Vi+wVScPMq(%J8s1NeQy4!htYqb%2V?&3O6 zcZJ@uVDa6RSPV;4R@U4Gl91-ULvA}d{qnYuZUxC`ehu|&Jd_5QyldV@rFJFdy^nMP z392OM77nU8V6d9Jg!~{y*)M6XQ4%zRID~pSF*6XA@);0ESpvU`uRWR>FUSj>dG~l= z4>V<)kR3;_sE_PGlVYe}&*fP>)-nNttnQ-Nrm_=?On^ZHs*qEc^Krnq)_&C7VJq>7 zvyj*;eS)}hvY3rSXzB$vkc5(1RN>TFcq^bp>2PCEZ z(ek165Y%P!hc%8v{OkssWvfW7>|7`dCq@Zk)dN9(2-!fEdTVf&0Lj}y=$x3V0Erf+ z*a&&4bH^oMJlGq+DupYNSMNg`TZHX?7D3VT3HQ@2E7qwDgk3p#NY$MV2OsxGj+Hdv zKHk?Mc`?`HI8>YHqx6NH`GeAOMdiDfY)ovFgO{C7*I=GUQz97t;!gU!fOKqRRiEHf0QaDr#+KpBgpWtRysC`AW(u|R2;l{# z*>;2fzH5bRLMDdWzZ2ahWQu5T6W@4rp)|x`M8W^|jWGpT0YX>=7>`XO%jV&^(M)|b z4#5K7efyZ0k-U-nIHEWlKZ6Y)HofL9bLx@9`hhOI<-78j`MxSBF;=|?_}{sU0aofw z9qCUd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M^=&6I}OdX-POz zv(2|@pXL8Z0W=H?WQO|Z{cP^N>aW8;>~5nh_dCJwyJp-cSc2U0-X0ncfe-f&xPu}? z?4`e~q4(oVAHshRPrU;}L2Wbt1OI=5RUa}vj5ECBvSIsE)Zs(?!+5VdJQe3Z`1{dc z58)3(Z|>l8-1lz(Paw`i^uu6=J9PK6f6xy@8y-?T^l!bRI1&1X;=Z@*L-_9=L3d!t zkp$GA{DU46{O)3NpWyJn2<{wi99>KEZ(LeHr>w-=r)D2XW5+IRe6lnu3Lb J8Z-ZS_J8X4Rk#2E literal 0 HcmV?d00001 diff --git a/src/DateTimePickerDialog.java b/src/DateTimePickerDialog.java new file mode 100644 index 0000000..2c47ba4 --- /dev/null +++ b/src/DateTimePickerDialog.java @@ -0,0 +1,90 @@ +/* + * Copyright (c) 2010-2011, The MiCode Open Source Community (www.micode.net) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package net.micode.notes.ui; + +import java.util.Calendar; + +import net.micode.notes.R; +import net.micode.notes.ui.DateTimePicker; +import net.micode.notes.ui.DateTimePicker.OnDateTimeChangedListener; + +import android.app.AlertDialog; +import android.content.Context; +import android.content.DialogInterface; +import android.content.DialogInterface.OnClickListener; +import android.text.format.DateFormat; +import android.text.format.DateUtils; + +public class DateTimePickerDialog extends AlertDialog implements OnClickListener { + + private Calendar mDate = Calendar.getInstance(); + private boolean mIs24HourView; + private OnDateTimeSetListener mOnDateTimeSetListener; + private DateTimePicker mDateTimePicker; + + public interface OnDateTimeSetListener { + void OnDateTimeSet(AlertDialog dialog, long date); + } + + public DateTimePickerDialog(Context context, long date) { + super(context); + mDateTimePicker = new DateTimePicker(context); + setView(mDateTimePicker); + mDateTimePicker.setOnDateTimeChangedListener(new OnDateTimeChangedListener() { + public void onDateTimeChanged(DateTimePicker view, int year, int month, + int dayOfMonth, int hourOfDay, int minute) { + mDate.set(Calendar.YEAR, year); + mDate.set(Calendar.MONTH, month); + mDate.set(Calendar.DAY_OF_MONTH, dayOfMonth); + mDate.set(Calendar.HOUR_OF_DAY, hourOfDay); + mDate.set(Calendar.MINUTE, minute); + updateTitle(mDate.getTimeInMillis()); + } + }); + mDate.setTimeInMillis(date); + mDate.set(Calendar.SECOND, 0); + mDateTimePicker.setCurrentDate(mDate.getTimeInMillis()); + setButton(context.getString(R.string.datetime_dialog_ok), this); + setButton2(context.getString(R.string.datetime_dialog_cancel), (OnClickListener)null); + set24HourView(DateFormat.is24HourFormat(this.getContext())); + updateTitle(mDate.getTimeInMillis()); + } + + public void set24HourView(boolean is24HourView) { + mIs24HourView = is24HourView; + } + + public void setOnDateTimeSetListener(OnDateTimeSetListener callBack) { + mOnDateTimeSetListener = callBack; + } + + private void updateTitle(long date) { + int flag = + DateUtils.FORMAT_SHOW_YEAR | + DateUtils.FORMAT_SHOW_DATE | + DateUtils.FORMAT_SHOW_TIME; + flag |= mIs24HourView ? DateUtils.FORMAT_24HOUR : DateUtils.FORMAT_24HOUR; + setTitle(DateUtils.formatDateTime(this.getContext(), date, flag)); + } + + public void onClick(DialogInterface arg0, int arg1) { + if (mOnDateTimeSetListener != null) { + mOnDateTimeSetListener.OnDateTimeSet(this, mDate.getTimeInMillis()); + } + } + +} \ No newline at end of file