com.fxcm.fix
Interface IFXCMTimingInterval

All Superinterfaces:
com.fxcm.entity.ICode, Serializable

public interface IFXCMTimingInterval
extends com.fxcm.entity.ICode

Interface to specify values codes of FXCMTimingInterval field.


Method Summary
 long getDuration(UTCTimestamp aTime)
          Obtains time duration of the interval
 int getIntCode()
          Returns int presentation of code of interval
 UTCTimestamp truncate(UTCTimestamp aTime)
          Obtains starting time stamp of the interval
 
Methods inherited from interface com.fxcm.entity.ICode
getCode, getDesc, getLabel
 

Method Detail

getDuration

long getDuration(UTCTimestamp aTime)
Obtains time duration of the interval

Parameters:
aTime - time within interval
Returns:
time duration in milliseconds

truncate

UTCTimestamp truncate(UTCTimestamp aTime)
Obtains starting time stamp of the interval

Parameters:
aTime - time within interval
Returns:
starting time stamp

getIntCode

int getIntCode()
Returns int presentation of code of interval

Returns:
interval code (see FXCMTIMINGINTERVAL_* codes)


Copyright © 2012 FXCM, LLC. All Rights Reserved.