|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.saml.util.SAMLTimeFormat
public class SAMLTimeFormat
this class is used to get a SAML date representation as a string from a Date object. it can be used to return a Date object by giving a SAML date string.
Constructor Summary | |
---|---|
SAMLTimeFormat(java.util.Date dateIn)
Creates a new instance of SAMLTimeFormat |
Method Summary | |
---|---|
java.lang.String |
getDate()
returns a string, which represent the Date in the format of yyyy-mm-ddThh:mm:ss.mmmZ |
java.util.Date |
getDate(java.lang.String samlDate)
returns a Date object by giving a saml date. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAMLTimeFormat(java.util.Date dateIn)
Method Detail |
---|
public java.lang.String getDate()
public java.util.Date getDate(java.lang.String samlDate)
samlDate
- is the saml date representation.public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |