Package apple.struct
Class tm
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.c.StructObject
-
- apple.struct.tm
-
public final class tm extends org.moe.natj.c.StructObject
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetTm_gmtoff(long value)offset from UTC in secondsvoidsetTm_hour(int value)hours since midnight [0-23]voidsetTm_isdst(int value)Daylight Savings Time flagvoidsetTm_mday(int value)day of the month [1-31]voidsetTm_min(int value)minutes after the hour [0-59]voidsetTm_mon(int value)months since January [0-11]voidsetTm_sec(int value)seconds after the minute [0-60]voidsetTm_wday(int value)days since Sunday [0-6]voidsetTm_yday(int value)days since January 1 [0-365]voidsetTm_year(int value)years since 1900voidsetTm_zone(org.moe.natj.general.ptr.BytePtr value)timezone abbreviationlongtm_gmtoff()offset from UTC in secondsinttm_hour()hours since midnight [0-23]inttm_isdst()Daylight Savings Time flaginttm_mday()day of the month [1-31]inttm_min()minutes after the hour [0-59]inttm_mon()months since January [0-11]inttm_sec()seconds after the minute [0-60]inttm_wday()days since Sunday [0-6]inttm_yday()days since January 1 [0-365]inttm_year()years since 1900org.moe.natj.general.ptr.BytePtrtm_zone()timezone abbreviation
-
-
-
Method Detail
-
tm_sec
public int tm_sec()
seconds after the minute [0-60]
-
setTm_sec
public void setTm_sec(int value)
seconds after the minute [0-60]
-
tm_min
public int tm_min()
minutes after the hour [0-59]
-
setTm_min
public void setTm_min(int value)
minutes after the hour [0-59]
-
tm_hour
public int tm_hour()
hours since midnight [0-23]
-
setTm_hour
public void setTm_hour(int value)
hours since midnight [0-23]
-
tm_mday
public int tm_mday()
day of the month [1-31]
-
setTm_mday
public void setTm_mday(int value)
day of the month [1-31]
-
tm_mon
public int tm_mon()
months since January [0-11]
-
setTm_mon
public void setTm_mon(int value)
months since January [0-11]
-
tm_year
public int tm_year()
years since 1900
-
setTm_year
public void setTm_year(int value)
years since 1900
-
tm_wday
public int tm_wday()
days since Sunday [0-6]
-
setTm_wday
public void setTm_wday(int value)
days since Sunday [0-6]
-
tm_yday
public int tm_yday()
days since January 1 [0-365]
-
setTm_yday
public void setTm_yday(int value)
days since January 1 [0-365]
-
tm_isdst
public int tm_isdst()
Daylight Savings Time flag
-
setTm_isdst
public void setTm_isdst(int value)
Daylight Savings Time flag
-
tm_gmtoff
public long tm_gmtoff()
offset from UTC in seconds
-
setTm_gmtoff
public void setTm_gmtoff(long value)
offset from UTC in seconds
-
tm_zone
public org.moe.natj.general.ptr.BytePtr tm_zone()
timezone abbreviation
-
setTm_zone
public void setTm_zone(org.moe.natj.general.ptr.BytePtr value)
timezone abbreviation
-
-