Click here to Skip to main content
15,893,508 members
Articles / Web Development / ASP.NET

MVC Schedule controls

Rate me:
Please Sign up or sign in to vote.
4.83/5 (16 votes)
8 Sep 2013LGPL310 min read 63.1K   3.6K   85  
MVC Schedule controls
Namespace Models

    Public Class Meeting

        Private _startTime As DateTime
        Public Property StartTime() As DateTime
            Get
                Return _startTime
            End Get
            Set(value As DateTime)
                _startTime = value
            End Set
        End Property

        Private _endTime As DateTime
        Public Property EndTime() As DateTime
            Get
                Return _endTime
            End Get
            Set(value As DateTime)
                _endTime = value
            End Set
        End Property

        Private _eventDate As System.DateTime
        Public Property EventDate() As System.DateTime
            Get
                Return _eventDate
            End Get
            Set(value As System.DateTime)
                _eventDate = value
            End Set
        End Property

        Private _task As String
        Public Property Task() As String
            Get
                Return _task
            End Get
            Set(value As String)
                _task = value
            End Set
        End Property

        Public Sub New(startTime As DateTime, endTime As DateTime, eventDate As System.DateTime, task As String)
            Me.StartTime = startTime
            Me.EndTime = endTime
            Me.EventDate = eventDate
            Me.Task = task
        End Sub

    End Class

End Namespace

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Web Developer
Belgium Belgium
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions