C# 클래스 DateTime, peachpie

Representation of date and time.
파일 보기 프로젝트 열기: iolevel/peachpie 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_ctx Context

Private Properties

프로퍼티 타입 설명
StrToTime System.DateTime

공개 메소드들

메소드 설명
DateTime ( Context ctx ) : Pchp.Core
DateTime ( Context ctx, string time ) : Pchp.Core
DateTime ( Context ctx, string time, DateTimeZone, timezone ) : Pchp.Core
createFromFormat ( Context ctx, string format, string time, DateTimeZone, timezone = null ) : object
format ( string format ) : object
getOffset ( ) : int
getTimestamp ( ) : int
modify ( string modify ) : global::DateTime
setDate ( int year, int month, int day ) : object
setTime ( int hour, int minute, int second ) : object
setTimeZone ( DateTimeZone, timezone ) : object

비공개 메소드들

메소드 설명
StrToTime ( string timestr, System.DateTime time ) : System.DateTime

메소드 상세

DateTime() 공개 메소드

public DateTime ( Context ctx ) : Pchp.Core
ctx Context
리턴 Pchp.Core

DateTime() 공개 메소드

public DateTime ( Context ctx, string time ) : Pchp.Core
ctx Context
time string
리턴 Pchp.Core

DateTime() 공개 메소드

public DateTime ( Context ctx, string time, DateTimeZone, timezone ) : Pchp.Core
ctx Context
time string
timezone DateTimeZone,
리턴 Pchp.Core

createFromFormat() 공개 정적인 메소드

public static createFromFormat ( Context ctx, string format, string time, DateTimeZone, timezone = null ) : object
ctx Context
format string
time string
timezone DateTimeZone,
리턴 object

format() 공개 메소드

public format ( string format ) : object
format string
리턴 object

getOffset() 공개 메소드

public getOffset ( ) : int
리턴 int

getTimestamp() 공개 메소드

public getTimestamp ( ) : int
리턴 int

modify() 공개 메소드

public modify ( string modify ) : global::DateTime
modify string
리턴 global::DateTime

setDate() 공개 메소드

public setDate ( int year, int month, int day ) : object
year int
month int
day int
리턴 object

setTime() 공개 메소드

public setTime ( int hour, int minute, int second ) : object
hour int
minute int
second int
리턴 object

setTimeZone() 공개 메소드

public setTimeZone ( DateTimeZone, timezone ) : object
timezone DateTimeZone,
리턴 object

프로퍼티 상세

_ctx 보호되어 있는 프로퍼티

protected Context _ctx
리턴 Context