|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.mbdev.openstage.XmlDate
public abstract class XmlDate
Defines the date and time formats used by the OpenStage phones.
Copyright 2011 Mateusz Bysiek, mb@mbdev.pl, http://mbdev.pl/ 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.
Constructor Summary | |
---|---|
private |
XmlDate()
Private constructor, this is an utility class. |
Method Summary | |
---|---|
static java.lang.String |
getDate(java.util.Calendar cal)
From the calendar object provided, gets the date in the OpenStage format. |
static java.lang.String |
getTime(java.util.Calendar cal)
From the calendar object provided, gets the time in the OpenStage format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private XmlDate()
Method Detail |
---|
public static java.lang.String getDate(java.util.Calendar cal)
cal
- a Calendar object
public static java.lang.String getTime(java.util.Calendar cal)
cal
- a Calendar object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |