01: /*---------------- FILE HEADER ------------------------------------------
02:
03: This file is part of deegree.
04: Copyright (C) 2001-2008 by:
05: EXSE, Department of Geography, University of Bonn
06: http://www.giub.uni-bonn.de/deegree/
07: lat/lon GmbH
08: http://www.lat-lon.de
09:
10: This library is free software; you can redistribute it and/or
11: modify it under the terms of the GNU Lesser General Public
12: License as published by the Free Software Foundation; either
13: version 2.1 of the License, or (at your option) any later version.
14:
15: This library is distributed in the hope that it will be useful,
16: but WITHOUT ANY WARRANTY; without even the implied warranty of
17: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18: Lesser General Public License for more details.
19:
20: You should have received a copy of the GNU Lesser General Public
21: License along with this library; if not, write to the Free Software
22: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23:
24: Contact:
25:
26: Andreas Poth
27: lat/lon GmbH
28: Aennchenstr. 19
29: 53115 Bonn
30: Germany
31: E-Mail: poth@lat-lon.de
32:
33: Prof. Dr. Klaus Greve
34: Department of Geography
35: University of Bonn
36: Meckenheimer Allee 166
37: 53115 Bonn
38: Germany
39: E-Mail: greve@giub.uni-bonn.de
40:
41:
42: ---------------------------------------------------------------------------*/
43: package org.deegree.ogcwebservices.csw.iso_profile;
44:
45: import org.deegree.framework.util.TimeTools;
46:
47: /**
48: * Java operations required for transforming a OGC:WMS 1.1.1
49: * capabilities document into a ISO 19119/139 XML metadata document
50: *
51: *
52: * @version $Revision: 1.1 $
53: * @author <a href="mailto:poth@lat-lon.de">Andreas Poth</a>
54: * @author last edited by: $Author: poth $
55: *
56: * @version 1.0. $Revision: 1.1 $, $Date: 2006/08/09 19:09:44 $
57: */
58: public class OWS2ISO19119 {
59:
60: /**
61: * returns the current timestamp formated as specified by ISO 8601
62: * @return
63: */
64: public static String getCurrentTimestamp() {
65: return TimeTools.getISOFormattedTime();
66: }
67:
68: }
|