com.ddfplus.messages.DdfTimestamp Maven / Gradle / Ivy
/**
* Copyright (C) 2004 - 2015 by Barchart.com, Inc. All Rights Reserved.
*
* This software is the proprietary information of Barchart.com, Inc.
* Use is subject to license terms.
*/
package com.ddfplus.messages;
import org.joda.time.DateTime;
/**
* DDF Timestamp
*/
public interface DdfTimestamp extends DdfMessageBase {
/**
* Gets the date time.
*
* @return the date time
*/
DateTime getDateTime();
/**
* Returns the time data in parts, as an int[]
.
*
* int[0] = year
* int[1] = month
* int[2] = day
* int[3] = hour
* int[4] = minute
* int[5] = second
*
*
* @return array of time data
*/
int[] getTimeInParts();
}