C# 클래스 gov.va.medora.mdo.dao.vista.VistaTimestamp

파일 보기 프로젝트 열기: OSEHRA/mdo 1 사용 예제들

공개 메소드들

메소드 설명
corrected ( String ts ) : String
fromDateTime ( System.DateTime t ) : String

Convert DateTime into VistA format

fromDateTimeShortString ( System.DateTime t ) : String

Convert DateTime into VistA format

fromUtcFromDate ( string utcFrom ) : string
fromUtcString ( String ts ) : String

Turns UTC string into VistA timestamp (year - 1700)

fromUtcToDate ( string utcTo ) : string
getDatePart ( String ts ) : String
getDay ( String ts ) : int
getHour ( String ts ) : int
getMinute ( String ts ) : int
getMonth ( String ts ) : int
getSecond ( String ts ) : int
getTimePart ( String ts ) : String
getYear ( String ts ) : int
invertTimestamp ( string ts ) : string
isValid ( String ts ) : bool
noSeconds ( string vistaTS ) : string
padTimeToSeconds ( String vistaTS ) : string
padZeroes ( String ts ) : String
toDateTime ( String vistaTS ) : System.DateTime
toDateTimeFromRdv ( string rdvTS ) : System.DateTime
toUtcFromRdv ( string rdvTS ) : string
toUtcString ( string vistaTS ) : string
trimZeroes ( string ts ) : string

비공개 메소드들

메소드 설명
padDatePartWithZeroes ( string part ) : string

Pad a month or day string with zeroes

메소드 상세

corrected() 공개 정적인 메소드

public static corrected ( String ts ) : String
ts String
리턴 String

fromDateTime() 공개 정적인 메소드

Convert DateTime into VistA format
public static fromDateTime ( System.DateTime t ) : String
t System.DateTime
리턴 String

fromDateTimeShortString() 공개 정적인 메소드

Convert DateTime into VistA format
public static fromDateTimeShortString ( System.DateTime t ) : String
t System.DateTime DateTime
리턴 String

fromUtcFromDate() 공개 정적인 메소드

public static fromUtcFromDate ( string utcFrom ) : string
utcFrom string
리턴 string

fromUtcString() 공개 정적인 메소드

Turns UTC string into VistA timestamp (year - 1700)
public static fromUtcString ( String ts ) : String
ts String
리턴 String

fromUtcToDate() 공개 정적인 메소드

public static fromUtcToDate ( string utcTo ) : string
utcTo string
리턴 string

getDatePart() 공개 정적인 메소드

public static getDatePart ( String ts ) : String
ts String
리턴 String

getDay() 공개 정적인 메소드

public static getDay ( String ts ) : int
ts String
리턴 int

getHour() 공개 정적인 메소드

public static getHour ( String ts ) : int
ts String
리턴 int

getMinute() 공개 정적인 메소드

public static getMinute ( String ts ) : int
ts String
리턴 int

getMonth() 공개 정적인 메소드

public static getMonth ( String ts ) : int
ts String
리턴 int

getSecond() 공개 정적인 메소드

public static getSecond ( String ts ) : int
ts String
리턴 int

getTimePart() 공개 정적인 메소드

public static getTimePart ( String ts ) : String
ts String
리턴 String

getYear() 공개 정적인 메소드

public static getYear ( String ts ) : int
ts String
리턴 int

invertTimestamp() 공개 정적인 메소드

public static invertTimestamp ( string ts ) : string
ts string
리턴 string

isValid() 공개 정적인 메소드

public static isValid ( String ts ) : bool
ts String
리턴 bool

noSeconds() 공개 정적인 메소드

public static noSeconds ( string vistaTS ) : string
vistaTS string
리턴 string

padTimeToSeconds() 공개 정적인 메소드

public static padTimeToSeconds ( String vistaTS ) : string
vistaTS String
리턴 string

padZeroes() 공개 정적인 메소드

public static padZeroes ( String ts ) : String
ts String
리턴 String

toDateTime() 공개 정적인 메소드

public static toDateTime ( String vistaTS ) : System.DateTime
vistaTS String
리턴 System.DateTime

toDateTimeFromRdv() 공개 정적인 메소드

public static toDateTimeFromRdv ( string rdvTS ) : System.DateTime
rdvTS string
리턴 System.DateTime

toUtcFromRdv() 공개 정적인 메소드

public static toUtcFromRdv ( string rdvTS ) : string
rdvTS string
리턴 string

toUtcString() 공개 정적인 메소드

public static toUtcString ( string vistaTS ) : string
vistaTS string
리턴 string

trimZeroes() 공개 정적인 메소드

public static trimZeroes ( string ts ) : string
ts string
리턴 string