Skip to content

Commit dc04a14

Browse files
committed
---
yaml --- r: 95605 b: refs/heads/dist-snap c: 860cb81 h: refs/heads/master i: 95603: 89f1fca v: v3
1 parent 6ae9f6c commit dc04a14

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: dabf3774385aeddaa58b7b25ee39f6034a786b35
9+
refs/heads/dist-snap: 860cb81b59fb927443e52b5d9c2e29cfbf3dc2f6
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/libextra/time.rs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub mod rustrt {
3434
3535

3636
#[deriving(Clone, DeepClone, Eq, Encodable, Decodable)]
37-
pub struct Timespec { priv sec: i64, priv nsec: i32 }
37+
pub struct Timespec { sec: i64, nsec: i32 }
3838
/*
3939
* Timespec assumes that pre-epoch Timespecs have negative sec and positive
4040
* nsec fields. Darwin's and Linux's struct timespec functions handle pre-
@@ -106,18 +106,18 @@ pub fn tzset() {
106106

107107
#[deriving(Clone, DeepClone, Eq, Encodable, Decodable)]
108108
pub struct Tm {
109-
priv tm_sec: i32, // seconds after the minute ~[0-60]
110-
priv tm_min: i32, // minutes after the hour ~[0-59]
111-
priv tm_hour: i32, // hours after midnight ~[0-23]
112-
priv tm_mday: i32, // days of the month ~[1-31]
113-
priv tm_mon: i32, // months since January ~[0-11]
114-
priv tm_year: i32, // years since 1900
115-
priv tm_wday: i32, // days since Sunday ~[0-6]
116-
priv tm_yday: i32, // days since January 1 ~[0-365]
117-
priv tm_isdst: i32, // Daylight Savings Time flag
118-
priv tm_gmtoff: i32, // offset from UTC in seconds
119-
priv tm_zone: ~str, // timezone abbreviation
120-
priv tm_nsec: i32, // nanoseconds
109+
tm_sec: i32, // seconds after the minute ~[0-60]
110+
tm_min: i32, // minutes after the hour ~[0-59]
111+
tm_hour: i32, // hours after midnight ~[0-23]
112+
tm_mday: i32, // days of the month ~[1-31]
113+
tm_mon: i32, // months since January ~[0-11]
114+
tm_year: i32, // years since 1900
115+
tm_wday: i32, // days since Sunday ~[0-6]
116+
tm_yday: i32, // days since January 1 ~[0-365]
117+
tm_isdst: i32, // Daylight Savings Time flag
118+
tm_gmtoff: i32, // offset from UTC in seconds
119+
tm_zone: ~str, // timezone abbreviation
120+
tm_nsec: i32, // nanoseconds
121121
}
122122

123123
pub fn empty_tm() -> Tm {

0 commit comments

Comments
 (0)