- 如何利用Samba跨平台分享Ubuntu文件夹
GottenZZP
部署相关ubuntulinux运维
1.安装Samba终端输入sudoaptinstallsamba2.配置Samba终端输入sudovim/etc/samba/smb.conf打开配置文件滑动文件到最底下输入以下内容[Share]#要共享的文件夹路径path=/home/xxx/sambasharereadonly=nobrowsable=yes编辑完成后按一下Esc按键后输入:wq回车保存3.重启Samba服务终端输入sudos
- VBA程序xlsm文件另存xlsx不能保存的问题
文剑至秦
编程excel
表达式.SaveAs(FileName,FileFormat,Password,WriteResPassword,ReadOnlyRecommended,CreateBackup,AccessMode,ConflictResolution,AddToMru,TextCodepage,TextVisualLayout,Local)1.首先看看FileFormat可选Variant保存文件时使用的文件
- c语言atomic能用数组的,属性关键字
非著名程序~~~
c语言atomic能用数组的
一.属性关键字的分类?读写权限:readonly、readwrite(默认)原子相关:atomic(默认)、nonatomic(常用)aomic:可以保证赋值和获取是线程安全的。指的是成员属性直接的获取和赋值,不包括操作和访问。eg:用atomic修饰数组,获取和赋值保证线程安全,添加、移除对象,是不保证线程安全的。引用计数retain(mrc)、strong(arc):修饰对象assign(修饰
- c#--实现23种常见的设计模式动态汇总
@Crazy Snail
C#新手村c#设计模式开发语言
设计模式通常分为三个主要类别:创建型模式结构型模式行为型模式。这些模式是用于解决常见的对象导向设计问题的最佳实践。以下是23种常见的设计模式并且提供c#代码案例:创建型模式:1.单例模式(Singleton)public sealed class Singleton{ //创建一个只读的静态Singleton实例 private static readonly Singleton in
- PyQt5——QLineEdit(单行文本框控件)
weixin_41881387
qt开发语言
一、简介QLineEdit:单行文本框控件二、常用方法方法描述text()返回文本框的内容setText()设置文本框的内容setReadOnly()设置文本为只读setMaxLength()设置文本框所允许输入的最大字符数setDragEnable()设置文本框是否接受拖动setValidator()设置文本框的验证器(验证规则),将限制任意可能输入的文本,可用的校验器为QIntValidato
- QString使用split处理大数据时的低效率问题
junziruyu53
qtQStringsplit
QFilefile(filepath1);if(!file.open(QIODevice::ReadOnly)){returndtre;}QTextStreamtxtRead(&file);QStringline=txtRead.readLine();QStringListlist=line.split(QRegExp("\\s+"));file.close();一直在使用QString的spli
- HTML学习7[重点]
乌鸦不像写字台
html学习html学习github
HTML表单form一、表单二、提交数据三、用户注册表单四、下拉列表支持多选五、file控件六、hidden控件七、readonly和disabled八、input控件的maxlength一、表单表单有什么用?收集用户信息;表单展现之后,用户填写表单,点击提交按钮提交数据给服务器。怎么画一个表单?使用form标签画表单。一个网页中可以有多个表单form。表单最终是需要提交数据给服务器,form标签
- 【Vue3源码】第六章 ref的原理 实现ref
顽皮宝
vue前端vue.js
【Vue3源码】第六章ref的原理实现ref上一章节我们实现了reactive和readonly嵌套对象转换功能,以及shallowReadonly和isProxy几个简单的API。这一章我们开始实现ref及其它配套的isRef、unRef和proxyRefs我们看下三行简单的代码consta=ref(1);effect(()=>{calls++;dummy=a.value;});a.value=
- qt自定义下拉菜单框
二氧化矽
qt
Qt自带的QCombBox下拉能够显示的东西有限,想添加其他的控件不太方便,所以就想自己定义一个,基本思路是,一个QLineEdit,一个QPushButton,一个QListWidget组成一个组合控件。过程:1、将QPushButton嵌入进QLineEdit中。_button->setText("...");_lineEdit->setReadOnly(true);_lineEdit->se
- Oracle只读表
zha_sir
Oracleoracle只读
Oracle只读表能阻止表上所有的DML操作(truncate/insert/update/delete)SQL>createtablet_zhasirasselect*fromdba_objectswhererownumaltertablet_zhasirreadonly;Tablealtered.--设置表为读写状态SQL>altertablet_zhasirreadwrite;Tableal
- WPF RelayCommand 含无参
Dorthyn
C#WPFwpf
引用usingSystem;usingSystem.Windows.Input;namespaceRelayCommand{publicclassRelayCommand:ICommand{privatereadonlyAction_execute;privatereadonlyFunc_canExecute;//////RaisedwhenRaiseCanExecuteChangediscall
- spring 中实现事务的几种方式
szc1767
springspringjava数据库
一、声明式事务通过Service层方法上添加Spring的@Transactional注解来完成常用配置参数名称功能描述readOnly该属性用于设置当前事务是否为只读事务,设置为true表示只读,false则表示可读写,默认值为false。例如:@Transactional(readOnly=true)rollbackFor该属性用于设置需要进行回滚的异常类数组,当方法中抛出指定异常数组中的异常
- shallowReactive 与 shallowRef, readonly 与 shallowReadonly
大鸡腿最好吃
vue3vue.js
shallowReactive:只处理了对象内最外层属性的响应式(也就是浅响应式)shallowRef:只处理了value的响应式,不进行对象的reactive处理什么时候用浅响应式呢?一般情况下使用ref和reactive即可如果有一个对象数据,结构比较深,但变化时只是外层属性变化===>shallowReactive如果有一个对象数据,后面会产生新的对象来替换===>shallowRefrea
- Vue3中的reactive,shallowReactive,ref,shallowRef;readonly,shallowReadonly; toRaw,markRaw简单介绍
会说法语的猪
vue3vue.js
reactive:深度劫持(深监视)shallowReactive:浅度劫持(浅监视)ref:深度劫持(深监视),做了reactive的处理shallowRef:不做监视readonly:只读属性的数据,深度只读conststate2=readonly(state)shallowReadonly:只读的数据,浅只读的toRaw:·作用:将一个由reactive生成的响应式对象转为普通对象·使用场景
- iOS编程解析URL
单线程Jack
#importNS_ASSUME_NONNULL_BEGIN/***URL解析类*/@interfaceURLHelper:NSObject/***scheme*/@property(strong,nonatomic,readonly)NSString*scheme;/***host*/@property(strong,nonatomic,readonly)NSString*host;/***pa
- vue3中shallowRe用法介绍
phpgolife
vue前端javascriptvue.js
shallowReactive、shallowRef和shallowReadonly是Vue3中CompositionAPI的一部分,它们用于创建响应式数据,但与普通的reactive、ref和readonly不同,它们创建的响应式数据是“浅层的”(shallow)。这意味着它们只会追踪对象本身属性(第一层)的响应性,而不会追踪对象内部嵌套属性的响应性。shallowRea
- Web前端Html的表单
任家伟
前端html
表单的关键字:form标签表示一个表单区域action=“后端地址”method=“提交数据方式:get/post”input单行输入框type=“text”文本name=“定义名称名字自定义”向后端提交的键readonly=“readonly”只读,不可修改,但是可以提交disabled=“disabled”禁用组件不可修改,不能提交type=“password”密码框type=“radio”单
- RN 生命周期
小如99
先给一波总结:Props属性相当于OC中的ReadOnly,只读属性!!state状态每个组件有一个系统的setState方法,用来改变状态,而且会刷新界面!调用Render()函数!!componentWillMount相当于OC中的ViewWillAppearRN的生命周期方法已经执行顺序如下:componentWillMount(){AlertIOS.alert('我要挂啦');}rende
- 在odoo中使用attrs的动态表单元素
StackSurfer
python
在Odoo中,attrs属性用于动态修改表单视图中字段的属性(如隐藏、只读或必填)基于其他字段的值。它主要用于视图XML中定义表单视图时。attrs属性采用一个字典格式,其中键是要修改的属性(如invisible、readonly、required),值是一个域表达式(domainexpression),用来决定何时修改这些属性。下面是一个使用attrs的示例,我们将创建一个简单的Odoo模块视图
- 【HarmonyOS Arkts笔记】http网络请求封装
PJF0715
HarmonyOS网络笔记http
common.tsexportdefaultclassCommonConstant{/***Thehostaddressoftheserver.*/staticreadonlySERVER:string='请求接口地址';/***Therequestsuccesscode.*/staticreadonlySUCCESS_CODE:number=200;/***Readtimeout.*/stati
- Qt应用软件【文件篇】读写文件技巧
编程小鱼酱
Qt应用软件300篇qt开发语言
文章目录简介按照偏移读文件按照偏移写文件Qt按行写文件Qt按行读文件注意事项指定文件编码格式UTF8转GBK简介Qt提供了丰富的API来处理文件读写操作,使得读写文件变得简单。按照偏移读文件QFilefile("example.txt");if(file.open(QIODevice::ReadOnly)){qint64offset=100;//定义偏移量if(file.seek(offset))
- PostgreSQL创建只读用户
dhiivgzni65686145
数据库
创建用户及指定密码:CREATEUSERreadonlyWITHENCRYPTEDPASSWORD'ropass';设置用户默认事务只读:alteruserreadonlysetdefault_transaction_read_only=on;赋予用户权限,查看public模式下所有表:GRANTUSAGEONSCHEMApublictoreadonly;ALTERDEFAULTPRIVILEGE
- macad.core解析exchange
table study
windows学习
1.exchangeusingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingMacad.Core;namespaceMacad.Core{//交换器注册表publicstaticclassExchangeRegistry{//交换器字典staticreadonlyDictionary>_Exchangers=newDict
- 02Typescript接口和类型别名
一朵云有多重
Typescripttypescriptjavascript前端
1.接口使用场景:当一个对象类型被多次使用时,一般会使用接口(interface)来描述对象的类型,达到复用的目的。interfacePerson{name:string;age:number;say():void;hobby?:string;readonlyx:number;}语法规范1.使用interface关键字来声明接口2.属性类型后用;(分号)结尾3.所有属性都不能有实际值,只定义结构类
- .NET Core WebAPI中使用Log4net记录日志
Tigers996
.NET.netcorelog4net
一、安装NuGet包二、添加配置//log4net日志builder.Logging.AddLog4Net("CfgFile/log4net.config");三、配置log4net.config文件四、记录日志privatereadonlyILogger_logger;//////构造函数//////publicWeatherForecastController(ILoggerlogger){_
- AT24C02(I2C总线)通信的学习
OwnResponsibility
学习
提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档文章目录前言一、存储器介绍二、AT24C02芯片二、I2C总线I2C电路规范I2C时序结构I2C数据帧AT24C02数据帧总结前言学习AT24C02(I2C总线)芯片一、存储器介绍RAM()存储速度较快,但容易丢失数据。ROM(ReadOnlyMemory)存储速度较慢,但掉电不丢失数据。在使用时需要两者结合先存入RAM再转存到ROM
- 【QT】QFile读取.txt文本文件时,中文乱码问题(已解决)
Wyn_
Qtqtc++QFile
目录0.背景1.修改方法0.背景项目读取一个【.txt】文本文件,显示到下拉框中,其中含有中文,在读取中文相关字段时会出现乱码,代码和显示如下.txt文本内容如下(显示到下拉框时,我做了分割处理):实际读取的是【中文test1】QFilefile(filePath);if(!file.open(QIODevice::ReadOnly|QIODevice::Text)){returnfalse;}Q
- 【ant-design-vue】a-input、a-number、a-date在disabled时样式修改
Chx.zhang
vue.js前端ant-design
a-input、a-number、a-date在disabled时,颜色比较深,不宜查看。由于之前项目之前在对输入框禁用,不宜查看,故做此修改并记录。只是有一个疑问,为什么之气那项目的查看不用readOnly???不香吗?????/*覆盖ant-design-vue样式**/.ant-select-disabled.ant-select:not(.ant-select-customize-inpu
- 编写高效的代码,你应该了解Array、Memory、ReadOnlySequence
液态不合群
算法开发语言c语言
针对“缓冲区”编程是一个非常注重“性能”的地方,我们应该尽可能地避免武断地创建字节数组来存储读取的内容,这样不但会导致大量的字节拷贝,临时创建的字节数组还会带来GC压力。要正确、高效地读写缓冲内容,我们应该对几个我们可能熟悉的类型具有更深的认识。一、Array、ArraySegment、Span、Memory与String二、MemoryManager三、ReadOnlySequence四、创建“
- Vue3警告:Write operation failed: computed value is readonly
ydcgye_
前端javascript开发语言
前因:利用vuex存放公共属性,并在组件中利用computed赋值调用锁定问题来源:(这里使用setup语法糖,js语法)letisVisible=computed(()=>store.state.daiLog.isVisible)原因:使用简写方法,当表单修改isVisible的值时,就会调用set方法,而这里的computed属性是不允许修改的解决方案:letisVisible=compute
- 矩阵求逆(JAVA)利用伴随矩阵
qiuwanchi
利用伴随矩阵求逆矩阵
package gaodai.matrix;
import gaodai.determinant.DeterminantCalculation;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
/**
* 矩阵求逆(利用伴随矩阵)
* @author 邱万迟
- 单例(Singleton)模式
aoyouzi
单例模式Singleton
3.1 概述 如果要保证系统里一个类最多只能存在一个实例时,我们就需要单例模式。这种情况在我们应用中经常碰到,例如缓存池,数据库连接池,线程池,一些应用服务实例等。在多线程环境中,为了保证实例的唯一性其实并不简单,这章将和读者一起探讨如何实现单例模式。 3.2
- [开源与自主研发]就算可以轻易获得外部技术支持,自己也必须研发
comsci
开源
现在国内有大量的信息技术产品,都是通过盗版,免费下载,开源,附送等方式从国外的开发者那里获得的。。。。。。
虽然这种情况带来了国内信息产业的短暂繁荣,也促进了电子商务和互联网产业的快速发展,但是实际上,我们应该清醒的看到,这些产业的核心力量是被国外的
- 页面有两个frame,怎样点击一个的链接改变另一个的内容
Array_06
UIXHTML
<a src="地址" targets="这里写你要操作的Frame的名字" />搜索
然后你点击连接以后你的新页面就会显示在你设置的Frame名字的框那里
targerts="",就是你要填写目标的显示页面位置
=====================
例如:
<frame src=&
- Struts2实现单个/多个文件上传和下载
oloz
文件上传struts
struts2单文件上传:
步骤01:jsp页面
<!--在进行文件上传时,表单提交方式一定要是post的方式,因为文件上传时二进制文件可能会很大,还有就是enctype属性,这个属性一定要写成multipart/form-data,不然就会以二进制文本上传到服务器端-->
<form action="fileUplo
- 推荐10个在线logo设计网站
362217990
logo
在线设计Logo网站。
1、http://flickr.nosv.org(这个太简单)
2、http://www.logomaker.com/?source=1.5770.1
3、http://www.simwebsol.com/ImageTool
4、http://www.logogenerator.com/logo.php?nal=1&tpl_catlist[]=2
5、ht
- jsp上传文件
香水浓
jspfileupload
1. jsp上传
Notice:
1. form表单 method 属性必须设置为 POST 方法 ,不能使用 GET 方法
2. form表单 enctype 属性需要设置为 multipart/form-data
3. form表单 action 属性需要设置为提交到后台处理文件上传的jsp文件地址或者servlet地址。例如 uploadFile.jsp 程序文件用来处理上传的文
- 我的架构经验系列文章 - 前端架构
agevs
JavaScriptWeb框架UIjQuer
框架层面:近几年前端发展很快,前端之所以叫前端因为前端是已经可以独立成为一种职业了,js也不再是十年前的玩具了,以前富客户端RIA的应用可能会用flash/flex或是silverlight,现在可以使用js来完成大部分的功能,因此js作为一门前端的支撑语言也不仅仅是进行的简单的编码,越来越多框架性的东西出现了。越来越多的开发模式转变为后端只是吐json的数据源,而前端做所有UI的事情。MVCMV
- android ksoap2 中把XML(DataSet) 当做参数传递
aijuans
android
我的android app中需要发送webservice ,于是我使用了 ksop2 进行发送,在测试过程中不是很顺利,不能正常工作.我的web service 请求格式如下
[html]
view plain
copy
<Envelope xmlns="http://schemas.
- 使用Spring进行统一日志管理 + 统一异常管理
baalwolf
spring
统一日志和异常管理配置好后,SSH项目中,代码以往散落的log.info() 和 try..catch..finally 再也不见踪影!
统一日志异常实现类:
[java]
view plain
copy
package com.pilelot.web.util;
impor
- Android SDK 国内镜像
BigBird2012
android sdk
一、镜像地址:
1、东软信息学院的 Android SDK 镜像,比配置代理下载快多了。
配置地址, http://mirrors.neusoft.edu.cn/configurations.we#android
2、北京化工大学的:
IPV4:ubuntu.buct.edu.cn
IPV4:ubuntu.buct.cn
IPV6:ubuntu.buct6.edu.cn
- HTML无害化和Sanitize模块
bijian1013
JavaScriptAngularJSLinkySanitize
一.ng-bind-html、ng-bind-html-unsafe
AngularJS非常注重安全方面的问题,它会尽一切可能把大多数攻击手段最小化。其中一个攻击手段是向你的web页面里注入不安全的HTML,然后利用它触发跨站攻击或者注入攻击。
考虑这样一个例子,假设我们有一个变量存
- [Maven学习笔记二]Maven命令
bit1129
maven
mvn compile
compile编译命令将src/main/java和src/main/resources中的代码和配置文件编译到target/classes中,不会对src/test/java中的测试类进行编译
MVN编译使用
maven-resources-plugin:2.6:resources
maven-compiler-plugin:2.5.1:compile
&nbs
- 【Java命令二】jhat
bit1129
Java命令
jhat用于分析使用jmap dump的文件,,可以将堆中的对象以html的形式显示出来,包括对象的数量,大小等等,并支持对象查询语言。 jhat默认开启监听端口7000的HTTP服务,jhat是Java Heap Analysis Tool的缩写
1. 用法:
[hadoop@hadoop bin]$ jhat -help
Usage: jhat [-stack <bool&g
- JBoss 5.1.0 GA:Error installing to Instantiated: name=AttachmentStore state=Desc
ronin47
进到类似目录 server/default/conf/bootstrap,打开文件 profile.xml找到: Xml代码<bean
name="AttachmentStore"
class="org.jboss.system.server.profileservice.repository.AbstractAtta
- 写给初学者的6条网页设计安全配色指南
brotherlamp
UIui自学ui视频ui教程ui资料
网页设计中最基本的原则之一是,不管你花多长时间创造一个华丽的设计,其最终的角色都是这场秀中真正的明星——内容的衬托
我仍然清楚地记得我最早的一次美术课,那时我还是一个小小的、对凡事都充满渴望的孩子,我摆放出一大堆漂亮的彩色颜料。我仍然记得当我第一次看到原色与另一种颜色混合变成第二种颜色时的那种兴奋,并且我想,既然两种颜色能创造出一种全新的美丽色彩,那所有颜色
- 有一个数组,每次从中间随机取一个,然后放回去,当所有的元素都被取过,返回总共的取的次数。写一个函数实现。复杂度是什么。
bylijinnan
java算法面试
import java.util.Random;
import java.util.Set;
import java.util.TreeSet;
/**
* http://weibo.com/1915548291/z7HtOF4sx
* #面试题#有一个数组,每次从中间随机取一个,然后放回去,当所有的元素都被取过,返回总共的取的次数。
* 写一个函数实现。复杂度是什么
- struts2获得request、session、application方式
chiangfai
application
1、与Servlet API解耦的访问方式。
a.Struts2对HttpServletRequest、HttpSession、ServletContext进行了封装,构造了三个Map对象来替代这三种对象要获取这三个Map对象,使用ActionContext类。
----->
package pro.action;
import java.util.Map;
imp
- 改变python的默认语言设置
chenchao051
python
import sys
sys.getdefaultencoding()
可以测试出默认语言,要改变的话,需要在python lib的site-packages文件夹下新建:
sitecustomize.py, 这个文件比较特殊,会在python启动时来加载,所以就可以在里面写上:
import sys
sys.setdefaultencoding('utf-8')
&n
- mysql导入数据load data infile用法
daizj
mysql导入数据
我们常常导入数据!mysql有一个高效导入方法,那就是load data infile 下面来看案例说明
基本语法:
load data [low_priority] [local] infile 'file_name txt' [replace | ignore]
into table tbl_name
[fields
[terminated by't']
[OPTI
- phpexcel导入excel表到数据库简单入门示例
dcj3sjt126com
PHPExcel
跟导出相对应的,同一个数据表,也是将phpexcel类放在class目录下,将Excel表格中的内容读取出来放到数据库中
<?php
error_reporting(E_ALL);
set_time_limit(0);
?>
<html>
<head>
<meta http-equiv="Content-Type"
- 22岁到72岁的男人对女人的要求
dcj3sjt126com
22岁男人对女人的要求是:一,美丽,二,性感,三,有份具品味的职业,四,极有耐性,善解人意,五,该聪明的时候聪明,六,作小鸟依人状时尽量自然,七,怎样穿都好看,八,懂得适当地撒娇,九,虽作惊喜反应,但看起来自然,十,上了床就是个无条件荡妇。 32岁的男人对女人的要求,略作修定,是:一,入得厨房,进得睡房,二,不必服侍皇太后,三,不介意浪漫蜡烛配盒饭,四,听多过说,五,不再傻笑,六,懂得独
- Spring和HIbernate对DDM设计的支持
e200702084
DAO设计模式springHibernate领域模型
A:数据访问对象
DAO和资源库在领域驱动设计中都很重要。DAO是关系型数据库和应用之间的契约。它封装了Web应用中的数据库CRUD操作细节。另一方面,资源库是一个独立的抽象,它与DAO进行交互,并提供到领域模型的“业务接口”。
资源库使用领域的通用语言,处理所有必要的DAO,并使用领域理解的语言提供对领域模型的数据访问服务。
- NoSql 数据库的特性比较
geeksun
NoSQL
Redis 是一个开源的使用ANSI C语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。目前由VMware主持开发工作。
1. 数据模型
作为Key-value型数据库,Redis也提供了键(Key)和值(Value)的映射关系。除了常规的数值或字符串,Redis的键值还可以是以下形式之一:
Lists (列表)
Sets
- 使用 Nginx Upload Module 实现上传文件功能
hongtoushizi
nginx
转载自: http://www.tuicool.com/wx/aUrAzm
普通网站在实现文件上传功能的时候,一般是使用Python,Java等后端程序实现,比较麻烦。Nginx有一个Upload模块,可以非常简单的实现文件上传功能。此模块的原理是先把用户上传的文件保存到临时文件,然后在交由后台页面处理,并且把文件的原名,上传后的名称,文件类型,文件大小set到页面。下
- spring-boot-web-ui及thymeleaf基本使用
jishiweili
springthymeleaf
视图控制层代码demo如下:
@Controller
@RequestMapping("/")
public class MessageController {
private final MessageRepository messageRepository;
@Autowired
public MessageController(Mes
- 数据源架构模式之活动记录
home198979
PHP架构活动记录数据映射
hello!架构
一、概念
活动记录(Active Record):一个对象,它包装数据库表或视图中某一行,封装数据库访问,并在这些数据上增加了领域逻辑。
对象既有数据又有行为。活动记录使用直截了当的方法,把数据访问逻辑置于领域对象中。
二、实现简单活动记录
活动记录在php许多框架中都有应用,如cakephp。
<?php
/**
* 行数据入口类
*
- Linux Shell脚本之自动修改IP
pda158
linuxcentosDebian脚本
作为一名
Linux SA,日常运维中很多地方都会用到脚本,而服务器的ip一般采用静态ip或者MAC绑定,当然后者比较操作起来相对繁琐,而前者我们可以设置主机名、ip信息、网关等配置。修改成特定的主机名在维护和管理方面也比较方便。如下脚本用途为:修改ip和主机名等相关信息,可以根据实际需求修改,举一反三!
#!/bin/sh
#auto Change ip netmask ga
- 开发环境搭建
独浮云
eclipsejdktomcat
最近在开发过程中,经常出现MyEclipse内存溢出等错误,需要重启的情况,好麻烦。对于一般的JAVA+TOMCAT项目开发,其实没有必要使用重量级的MyEclipse,使用eclipse就足够了。尤其是开发机器硬件配置一般的人。
&n
- 操作日期和时间的工具类
vipbooks
工具类
大家好啊,好久没有来这里发文章了,今天来逛逛,分享一篇刚写不久的操作日期和时间的工具类,希望对大家有所帮助。
/*
* @(#)DataFormatUtils.java 2010-10-10
*
* Copyright 2010 BianJing,All rights reserved.
*/
package test;
impor