Back to project page RejsekortReader.
The source code is released under:
GNU General Public License
If you think the Android project RejsekortReader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package info.rejsekort.reader.rkf; /*from w w w. ja va2 s . c o m*/ import info.rejsekort.reader.rkf.blocks.InterpretedBlock; import info.rejsekort.reader.rkf.datatypes.DateTime; public abstract class TCSTBlock extends InterpretedBlock implements Comparable<TCSTBlock> { public DateTime mJourneyOriginDateTime; public TCSTBlock(String pid, byte[] bits) { super(pid, bits); } @Override public int compareTo(TCSTBlock another) { int i = mJourneyOriginDateTime.mDate.compareTo(another.mJourneyOriginDateTime.mDate); if (i == 0) return mJourneyOriginDateTime.mDate.compareTo(another.mJourneyOriginDateTime.mDate); return i; } }