Method getDateTimeInstance()
Return type:
java.text.DateFormat
Member of:
java.text.DateFormat
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
(SimpleDateFormat) DateFormat.getDateTimeInstance();
2
String authorInfo = "On "+java.text.DateFormat.getDateTimeInstance().format(myDate)+" "+user.valueForKey("name")+" wrote:";
3
printer.println("Created on " + DateFormat.getDateTimeInstance().format(new Date()));
4
.append(java.text.DateFormat.getDateTimeInstance().format(_postedOn))
5
DateFormat formatter = DateFormat.getDateTimeInstance();
6
modifiedField.setText( DateFormat.getDateTimeInstance().format( new Date( file.lastModified())));
7
String dateTime = DateFormat.getDateTimeInstance().format(new Date());
8
String dateTime = DateFormat.getDateTimeInstance().format(date);
9
date= DateFormat.getDateTimeInstance().format(new Date(modDate));
10
String dateTimeFormat = DateFormat.getDateTimeInstance().format(jan1_1970);
11
_postedOn = DateFormat.getDateTimeInstance().parse(postedon);
12
DateFormat.getDateTimeInstance().format(date);
13
_lockTimeStamp = DateFormat.getDateTimeInstance().format(new Date());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.