public class Channel
extends java.lang.Object
millisecond があいまい 強制的に0にする 各データのchannel は "1 BH?"に固定
STA NN YYYY MM DD HH MM SS.TTTT YYYY MM DD HH MM SS.TTTT #_CH CH1 CH2 CHn LI
where
#_CH is the number of channel designators in the immediately following list
CHn is a channel designator that can contain wildcards LI is location
identifier (optional)
For OHP request, TTTT is now only one digit.
コンストラクタと説明 |
---|
Channel(java.lang.String stationName,
java.lang.String networkName,
java.time.LocalDateTime startTime,
java.time.LocalDateTime endTime) |
修飾子とタイプ | メソッドと説明 |
---|---|
static Channel[] |
listChannels(java.lang.String[] network,
GlobalCMTID id,
java.time.temporal.ChronoUnit headUnit,
int headAdjustment,
java.time.temporal.ChronoUnit footUnit,
int footAdjustment) |
java.lang.String |
toString() |
public Channel(java.lang.String stationName, java.lang.String networkName, java.time.LocalDateTime startTime, java.time.LocalDateTime endTime)
public static Channel[] listChannels(java.lang.String[] network, GlobalCMTID id, java.time.temporal.ChronoUnit headUnit, int headAdjustment, java.time.temporal.ChronoUnit footUnit, int footAdjustment)
network
- names of networksid
- GlobalCMTIDheadUnit
- ChronoUnit
for the headAdjustmentheadAdjustment
- if -5 and unit is ChronoUnit.MINUTES
, then starts 5
minutes before the impactfootUnit
- ChronoUnit
for the footAdjustmentfootAdjustment
- if 2 and unit is ChronoUnit.HOURS
, then ends 2 hours
after the impactpublic java.lang.String toString()
toString
クラス内 java.lang.Object