public class PatternTool extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CR_LF |
static String |
MEMORY
Type of memory
"BM" broadcast message storage "ME" ME message storage "MT" any of the
storages associated with ME "SM" (U)SIM message storage "TA" TA message
storage "SR" status report storage
|
static String |
NUMBER
Positive integer number
|
static String |
PHONE_NUMBER
Phone number in format +420731810967 or 731810967
|
static String |
PHONE_TYPE |
static String |
STAT |
static String |
TIME_STAMP |
static DateTimeFormatter |
TIME_STAMP_FORMATTER |
static String |
WHATEVER |
Modifier and Type | Method and Description |
---|---|
static String |
build(String pattern,
String... args) |
static OffsetDateTime |
getOffsetDateTime(String time)
Calculate time returned by the modem to OffsetDateTime.
|
public static final DateTimeFormatter TIME_STAMP_FORMATTER
public static final String PHONE_NUMBER
public static final String PHONE_TYPE
public static final String TIME_STAMP
public static final String STAT
public static final String WHATEVER
public static final String CR_LF
public static final String NUMBER
public static final String MEMORY
public static OffsetDateTime getOffsetDateTime(String time)
time
- Copyright © 2015–2016 jSMS4Pi. All rights reserved.