mace-opensaml-users - Re: -2 hours after toString()
Subject: OpenSAML user discussion
List archive
- From: Derek Atkins <>
- To: Sergey Kasneryk <>
- Cc:
- Subject: Re: -2 hours after toString()
- Date: Fri, 06 Feb 2004 10:20:31 -0500
What timezone are you in? It looks like you're in EET, but I
don't know what that is.
Note that the NotBefore/NotOnOrAfter are denoted in Zulu time (see the
'Z' at the end). Is EET, perhaps, a GMT+2 timezone?
-derek
Sergey Kasneryk
<>
writes:
> Hello.
>
> Code prototype:
>
> currentTime = "Fri Feb 06 15:47:07 EET 2004";
> notOnOrAfter = "Mon Feb 16 15:47:07 EET 2004";
> samlAssertion = new SAMLAssertion(issuer, currentTime,
> notOnOrAfter, samlConditions, samlAdvice,
> samlStatements);
> String xml = samlAssertion.toString();
> System.out.println("xml = " + xml);
>
> Out:
> xml = <Assertion ...
> <Conditions NotBefore="2004-02-06T13:47:07Z"
> NotOnOrAfter="2004-02-16T13:47:07Z">
> </Conditions>...
>
> - values of NotBefore and NotOnOrAfter in a strange way lose exact 2
> hours: was 15 - printed 13.
>
> Could somebody knows a reason or a fix or a workaround?
>
> --
> Best regards,
> Sergey
> mailto:
>
>
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
PGP key available
- -2 hours after toString(), Sergey Kasneryk, 02/06/2004
- Re: -2 hours after toString(), Derek Atkins, 02/06/2004
- Re[2]: -2 hours after toString(), Sergey Kasneryk, 02/09/2004
- <Possible follow-up(s)>
- Re: -2 hours after toString(), matthias . seidl, 02/06/2004
- Re: -2 hours after toString(), Derek Atkins, 02/06/2004
Archive powered by MHonArc 2.6.16.